Resize Photo to Fit Modal Box and Keep Original For Download

Phoca Gallery - image gallery extension
jokerswild
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 19 Nov 2012, 00:44

Resize Photo to Fit Modal Box and Keep Original For Download

Post by jokerswild »

I am trying to load a large photo gallery using the Module. I have the Cropping set to None. The small thumb nail shows the entire photo. When the modal box pops up the photo is cut off. I like the size of the modal box currently. Can I have a photo that is 2016x3024 show complete in default modal box and large thumb nail settings? I want the original picture to be able to be downloaded, so I don't want to resize all the photos before I upload them.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49150
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Resize Photo to Fit Modal Box and Keep Original For Down

Post by Jan »

Hi, you can set that the large thumbnails will have such size and then you need to set some javascript popup method which will display the image in window and will resize it in case user will want it (see e.g. highslide js, etc. methods)

Jan
If you find Phoca extensions useful, please support the project
Post Reply