I am having some serious trouble with thumbnails when I have high resolution pictures (hopefully I am using the proper terminology; the pictures X by Y measurements). I orginally did not have a limit on the resolution of images that could be uploaded and it just slowed the site down way too much. The resolution I am using is 3888 x 2592 (10.1 megapixel). I also noticed during this time that thumbnails were not being created for certain issues. I decided to limit the resolution uploaded to 1080p (1920 x 1080); while the actual images load much faster, I am still having a great deal of trouble with the thumbnails not displaying. I have tried flushing the imachecash, but no success there. You can check it out here:
http://www.croomsalumni.com/photo_galleries
You will notice the first gallery does not have any problems (1280 x 863 pictures), whereas the second gallery does have problems (3888 x 2592, which have been scaled down by ImageTool to the limitations I put in at 1920 x 1080).
Thoughts?
Comments
Comment #1
dbeall commentedThis looks to be an imagecache and/or server issue.
I just don't see where views or node gallery could be the trouble.
The images are being uploaded, which is node_gallery, ImageAPI and the file system at work.
After the files system gets the files, the covers and thumbnails are produced by imagecache, if they are not generated, node_gallery can't display them.
The problem seems to be the creation of the thumbnails with imagecache.
I have done some looking around in the imagecache issues and there are some problems with ultra-high resolution images. Some people pointed at the php.ini settings for file size, processing time limit and some even talked about htaccess.. I am thinking it's more of a php file size or timeout issue.
access the full image,, it shows up, is in the file system.(node gallery working)
http://www.croomsalumni.com/sites/default/files/Alumni_talk_002.JPG
access the thumbnail,, error, or not there, imagecache did not create the thumbnail.(imagecache not working) -or- (server can't handle the request)
http://www.croomsalumni.com/sites/default/files/imagecache/node-gallery-...
I would try setting the upload fields to one image upload at a time when using such a high resolution.
-Or-
Upload one image at a time, leaving the rest of the upload fields empty.
This will give the server half a chance at handling the ultra-high resolution image processing requests.
edit: you could also try setting the image re-size size limits to something more reasonable, like 800x600 or 600x400
Comment #2
frank0051 commentedHmm, it seems like when the file is below 3 megs and the total is no more than 5 megs it can generate the thumb. Little strange; I don't think it is PHP because the images make it onto the server, just the thumbs aren't generated. It might have something to do with GD.
Comment #3
frank0051 commentedI switched ImageAPI over to ImageMagicK; it is iffy, but there have been some successes in generating the thumbnails (unlike GD2).
Comment #4
justintime commentedProbably a PHP memory limit. Have you checked yr Apache error logs?
Comment #5
kmontyThis is an imagecache request. I would also recommend editing your php mem limit and/or setting a maximum upload size.
Comment #6
atul_shin commentedI am facing issue with imagecache but quite different.
I am using "node_gallery" module for gallery display. This module creates three presets by default, for thumbnail, display and cover image. I am displaying images by a custom module. When I create a gallery through "node_gallery" module and upload images for first gallery images thumbnail and display images are created but when I create a gallery second time thumbnails are created but other images relating to display presets are not created again.
I tried all the things related to imagecache discussed here but no results...
please any help
Comment #7
fizk commented