At my website, www.orangeryknoxville.com, I am attempting to install Fancy Slide. As part of that implementation, I created a new content type with an imagefield, so that I can upload the images. The configuration seems to allow the upload, but no image appears. See http://orangeryknoxville.com/content/les-photos. I just get a box with the x in it. If I look at the source code, it is trying to pull the image but it simply is not displaying.

What is wrong with my system?

CommentFileSizeAuthor
#2 Imagefield problem.pdf891.22 KBKAP10
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

quicksketch’s picture

I can't view the page you linked to (Access Denied). Support for custom theming is not provided in the ImageField queue, I assume that you are doing this through your theme? If you're using a Fancy Slide module, you should file the issue in that queue, I've never heard of it before.

KAP10’s picture

FileSize
891.22 KB

I don't believe I am doing any custom theming. I am using one of the many standard themes, Tapestry. And while my problem was identified in my Fancy Slide config, I also tried to simply create new content which was simply an image. Even if I add an image node, when I upload an image, it does not appear. That indicates that I have an imagefield or image node problem.

Since the link in my original issue did not work, I have attached screen shots of what I describe above.

quicksketch’s picture

I can't tell where those images are pointing from a screenshot. Obviously they're pointing to a location at which the image doesn't exist. It may also be a problem with your Image library (GD or ImageMagick) if it is unable to produce thumbnails.

etavener’s picture

I think I have the same issue and it's to do with the file path.

When I leave the path settings for the image as '' (empty) the upload thumb works but the preview and the actual image links are broken (image link '.../sites/default/files//sites/default/files/profile_pic_0.jpg?1269443978'). If I put a folder name in the path settings (and create the folder in the directory) for the image the upload thumb is broken (image link: .../sites/default/files//imagefield_thumbs/pics/profile_pic.jpg) and the actual image and preview both work fine.

Does anyone know why? Is this the same problem? Help with this would be appreciated. I did have the fckeditor installed, but it is no longer. Could it have been this?

Oh and I'm only using imageField.

etavener’s picture

Status: Active » Needs review
etavener’s picture

Status: Needs review » Needs work
dncreative’s picture

I am also having the same issue.

The thumbnail preview appears fine - but when checking the site, the image is broken and rather than pointing to the subdirectory I've set up (and worked fine previously) for these type of images, it's pointing to the pathauto alias for the content type the image appears under ... and then my subdirectory (i.e., nodepathautoalias/files/subdirectory rather than just files/subdirectory). I cannot figure out where to fix this.

quicksketch’s picture

Project: ImageField » File (Field) Paths
Version: 6.x-3.2 » 6.x-1.4

I'm moving this to FileField Paths.

Anonymous’s picture

If you can ssh in and open a mysql shell, you can fix these paths (at least until they mysteriously break again). You want to change {files}.filepath, using the replace() function. Like so:

mysql> UPDATE files SET filepath = replace(filepath, 'sites/long/broken/weird/path/files', 'sites/correct.com/files');

Afterward, be sure to clear the cache, for instance at Admin -> Settings -> Performance, or with "drush cc all".

If you've replaced the correct file path, you should now see your images.

ginorodrigues’s picture

While using Firebug, I just figured that adding the instalation root path solves the problem:

This is the filefield "filepath" value, which doesn´t work:
"sites/default/files/image.jpg"

Adding the folder makes it work:
"/drupal_installation_folder/sites/default/files/image.jpg"

Though this is unexpected, it is ok now I know about it. Any security issue?

Deciphered’s picture

Issue summary: View changes
Status: Needs work » Closed (won't fix)

No longer supporting Drupal 6 issues for this module.