CCK version: 6.x-2.6
ImageField version: 6.x-3.2
Files folder permissions: drwxrwxr-x
Download method: Public
Ok, so I am using imageField and I'm having a problem with broken paths to images. The problem is different depending on whether I put a folder name in the path settings in the configuration for the image.
If I leave the path settings for the image blank (putting the image on the root of the files directory), I click to upload (not save or preview) the image (in the create content) uploads and shows the thumbnail, however the preview and the actual image link (going to the node after saving) have broken links to the image. The broken image link is /sites/default/files//sites/default/files/profile_pic_0.jpg?1269443978. For some reason it is putting the sites/default/files twice.
If I put a folder name in the path settings and create the folder in the files directory the upload preview stops working and the actual links to the content work fine in preview and after saving.
I can't seem to get it to create a logical folder structure and work for both the create preview and work for the actual content links. I did have the fckeditor installed (but not installed anymore) and wondered if this could have anything to do with it.
I have posted my issue here too.
Help with this would be greatly appreciated.
Comments
Comment #1
dncreative commentedI am also having an issue with the filepaths. Reported here.
Comment #2
quicksketchLet's consolidate with #750816: No images showing . I'm the maintainer of both modules, so no need to open it in more than one place. I feel that in these situations, it is almost certainly related to FileField Paths module. ImageField/FileField haven't changed in 6 months and this just started happening a few weeks ago it seems.
Comment #3
feeling commentedExactly the same issue for me, imagefiled recreate the full local path into sites/www.xyz.ext/files/ like sites/www.xyz.ext/files/var/www/drupal/sites/www.xyz.ext/files/
regards,
laurent.
edit > i'v found a workaround :
When you edit the image filed (in the content type), leave the field path setting blank. It seems to be the root cause of our problem.