download fullsize original images?

grabner

Joined: 2011-06-19
Posts: 2
Posted: Sun, 2011-06-19 20:51

Hi all!

I would like to use gallery3 to exchange photos with friends, and I would like to achieve the following:

1.) Photos should be rotated according to their EXIF information at least in the thumbnail view.
2.) Users should be able to download the fullsize images.
3.) While rotating images according to EXIF in the thumbnail view, users should be able to download the unmodified original image.

The modules "Autorotate" and "DownloadFullsize" solve points 1.) and 2.), respectively. Moreover, I tried the module "Keep Original" for point 3.), and I can confirm by logging into the web server that copies of the original images are actually created under "var/original/<albumname>". However, when clicking on "Download Fullsize Image" for an image which has been rotated due to its EXIF information, I receive the rotated image, which has the same number of pixels as the original one, but is only 20-25% in file size, i.e., there is a huge loss of information (and image quality) in the rotation process.

So my question is whether it is possible to have images rotated (at least) for the thumbnail view, but let users download the unmodified fullsize image. (An even better solution, but probably more difficult to implement, would be to use a lossless JPEG rotation tool such as "jpegtran" for rotating fullsize images.)

Can somebody please give me a hint how to solve this problem?

Thanks & kind regards,
Markus

 
rWatcher
rWatcher's picture

Joined: 2005-09-06
Posts: 722
Posted: Mon, 2011-06-20 15:40

Select Admin -> Settings -> Download Photo Links. In the "KeepOriginal Preferences" box, check "Allow visitors to download the original image when available?" and press save.

 
grabner

Joined: 2011-06-19
Posts: 2
Posted: Mon, 2011-06-20 18:57

Thanks a lot, problem solved!

Kind regards,
Markus