Displaying 5MB files

I got a shiny new Canon 5D Mark II. I'm in the love with the thing, but it generates larger JPEGs. 5MB instead of 3MB. I can FTP them fine (thanks to the unlimited storage at Bluehost.com), but in my gallery, the thumbnails and images are blank. If you download the full size, you can see the picture fine.

Is there some sort of parameter tweaking to let me see it. I get literally a blank image. You can see this at http://tongfamily.com/art/ where the directory http://tongfamily.com/art/index.php?album=2009/2009-01-01 looks fine as it has my 2-3MB 8Megapixel images but when you look at http://tongfamily.com/art/index.php?album=2009/2009-01-10, the image thumbnails are blank, but you can do a full size download.

Help! I don't see any parameter in zenphoto to fix this. It feels like there is a problem with larger (eg., 21 megapixel) images but I can't find a parameter to fix this. I suppose it might be cpu overload, but when I do a manual precache, the 8MP images work fine, but not the 21MP.

I have 1.2.1

Comments

  • OOps, I should say I just upgraded to 1.2.3 and no change.
  • OK, I see a related post and pointer to
    http://www.zenphoto.org/2008/08/troubleshooting-zenphoto/#10 that says that memory on the server essentially goes up the square of the image size. So an 8MP file needs 41MB of memory, I'm guessing that a 21MP file is going to need 160MB plus.

    So, does the server just fail silently or is there a way to check it. I'm on bluehost and for the life of me can't figure out how much on the VPS I'm allocated. Makes me just want to self host on my spare Mac Mini!

    Is this the likely problem?
  • OK after more spelunking, I have changed my php.ini to allow 256MB php memory size and have verified that 256MB is allocate to my test process. See http://tongfamily.com/phpmem.php but when I look at my zenphoto zp-core admin, it reports that only 96MB is allocated, so it looks like somewhere in zenphoto, it is arbitrarily setting this lower, but I can't figure out where. There is no php.ini nor .htaccess where this normally goes. Any ideas where this is set? Are you guys using ini_set('memory_limit', '96M'); somewhere in a script?

    Installation information

    * Zenphoto version 1.2.3 [3427] (Official Build)
    * Current gallery theme: stopdesign
    * PHP version: 5.2.8
    * PHP memory limit: 96M (Note: Your server might allocate less!)
    * MySQL version: 5.0.67
    * Database name: richtong_znp04
    * Table prefix: znp_
    * Spam filter: akismet
    * Captcha generator: zenphoto

    Active plugins:

    * class-video
    * filter-zenphoto_seo
    * flowplayer
    * image_album_statistics
    * print_album_menu
    * rating
    * shutterfly
    * slideshow
    * tag_suggest

    Active filters:

    * seoFriendlyURL
    o 10: filter-zenphoto_seo.php => filterAccentedCharacters
  • acrylian Administrator, Developer
    Well, you should contact your host if you really can allocate 160MB. Unless you have a really big package I guess that is very unlikely. As said the value you allocate is not necessarily the value that gets allocated in reality.

    I would recommend to resize the images before uploading. Unless you want to provide fine data for printing uploading 21 MP pictures may be a little waste of space...:-) There are a lot of convenient tools to do that.
Sign In or Register to comment.