Full size images too big!

My full size images are too large for easy download, but I want them available to users for printing and editing.

I would like to provide a link on an image page to the full size image, but have all clicks on the album images and the slideshow produce the 'main' size image (or maybe a new size is needed - 'fullscreen' or something, rather than full resolution).

For example, my photos are 3600x2700 pixels (10MP). I like the current thumbnail size, and I set the theme image size to about 800px. Today when a user clicks on an image, or views the slideshow, the 3600x2700px image is downloaded, taking a long time. I would like that to be, say, 1600x1200px, but with a link providing the full resolution image as well.

Is this possible today with zenphoto?

Also, my camera produces jpeg images at that resolution with an embedded preview image of 1600x1200. A plugin to grab those previews rather than resize the image would improve server response time. I don't know how widespread preview images are...? Also, a thumbnail is provided in the jpeg as well.

-Ben

Comments

  • acrylian Administrator, Developer
    It is all possible (except grabbing the preview image) but you will need some knowledge about coding. Look at our theming tutorial to get familiar with Zenphoto themes in general and then look at our functions documentation for custom size image functions.

    Btw, actually the slidesshow does not use the full image, it uses sized images that of course are generated from the full size image, as all sized down images like thumbs etc. are.
  • Pulling out a preview image would be no less resource consumptive that resizing the original. (Strange preview size, BTW. Many people would consider that a full size!)
  • No, I would think that pulling a preview image from the original would use less CPU power than any kind of resize operation - pulling the preview should be more or less the same as simply opening a jpeg file.

    My camera produces jpegs like this - full resolution is 10MP, with an embedded thumbnail that is something like 100px, and an embedded preview image that is 1600x1200. I use Digikam to manage the photos on my desktop, and it uses the preview image almost exclusively, only when you actually edit a photo does it open the full image.

    acrylian, why not grab the embedded preview image? It is my understanding that no pre-processing of images is done before a view is requested. Once a view is requested, cache is checked, and if the requested image size is not in cache, it is generated by running a resize operation on the original image. I would think it possible to check for an embedded preview image as an extra step in there. Obviously it would work best if the 'main' size was the same as the preview size.

    I will look at the theming documentation and see if I can remember my php! Thank you for the quick and useful response. I've been looking at photo blog software for the last 6 months and have used and rejected gallery2/3, wordpress/nextgen, plogger, flickr, smugmug, elgg, piwigo, and a number of others that I do not remember. I'm excited that zenphoto seems to do what I want in a way that I can understand and extend.
  • acrylian Administrator, Developer
    Regarding the preview image. All I said it is not possible to do that with Zenphoto. Zenphoto always has a full image used for resizing and the resized ones in the cache. It is simply not made to use another inbetween. You did understand the way Zenphoto works correctly.

    Actually I have no idea if it would be possible to extract that preview image at all. Exif stuff is actually not my resort (actually I do not even take photos, so it could be a very special feature of your camera).

    I guess sbillard will respond later, too.
  • I already responded once, but since bmcgrough knows more than I do I guess I will differ to his opinion.
Sign In or Register to comment.