Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
I am using NG 6.x-3.0 alpha2, and the images in the gallery are shown as a thin gray bar, as attached.
Any ideas?
Thanks.
Comment | File | Size | Author |
---|---|---|---|
gallery.jpg | 308.44 KB | foredoc |
Comments
Comment #1
dddave CreditAttribution: dddave commentedClean urls enabled?
Did you double check the permissions? Not only for the content types but also for the fields and imagecache presets?
Comment #2
foredoc CreditAttribution: foredoc commentedI am with site admin account. Should not be a permission problem, right?
Comment #3
scroogie CreditAttribution: scroogie commentedNo, not in that case. But dave is right, did you check clean urls? Node Gallery uses imagefield and imagecache, so its most probably not a problem in node gallery. If you look at the HTML code of the page you can see the URL of the image. Please try to visit that URL directly.
Comment #4
foredoc CreditAttribution: foredoc commentedI am using clean url, and when I try to visit the URL of the image in the HTML code, only see a white screen.
Thanks.
Comment #5
foredoc CreditAttribution: foredoc commentedIn the URL, it is looking for the image in:
sites/all/files/imagecache/node-gallery-thumbnail
folder,
However, there is no "node-gallery-thumbnail" folder under "imagecache".
Any ideas why?
Thanks.
Comment #6
scroogie CreditAttribution: scroogie commentedYes, imagecache does not work. Perhaps this can help: http://drupal.org/node/224913
Comment #7
foredoc CreditAttribution: foredoc commentedIt is wired, the link in the URL points to:
sites/all/files/imagecache/node-gallery-thumbnail/a.jpg
However, the actual location of this file is:
sites/all/files/a.jpg.
Frustrating...
Comment #8
scroogie CreditAttribution: scroogie commentedThis is normal foredoc! Its the way imagecache works. It uses Apache's mod_rewrite to get the file request, parses the name of the preset out of the path (node-gallery-thumbnail) and then creates the thumbnail in that path. Please read the page that I linked in the former post, it explains all this and how you can troubleshoot that. For example, check the .htaccess, etc.
Comment #9
foredoc CreditAttribution: foredoc commentedProblem fixed by enable ImageAPI GD2 module, as suggested by:
http://drupal.org/node/280144#comment-1594528
Any idea why could this happen?
Thanks.
Comment #10
scroogie CreditAttribution: scroogie commentedimagecache requires at least one of the ImageAPI implementations to be enabled, but the module system should have noticed that. Perhaps ImageAPI Imagemagick was enabled but didn't work? I'm happy you solved the problem, though.
Comment #12
wyocrook CreditAttribution: wyocrook commentedEnabling GD2 solved it for me as well. What a relief!