thumbnail image scaling options

Phoca Gallery - image gallery extension
Olgaki
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 25 Dec 2013, 17:31
Contact:

thumbnail image scaling options

Post by Olgaki »

I have a problem with scaling miniature images. Since my original images aren't proportional, the miniature scale option "stretches" the image using shortest length that looks awful on miniatures. The size of miniatures is 125x125px, I need my original images get cropped for miniatures only. I want them to allocate "crop" square in the center of original image.

Here is how it is now Image

Here ho I want it to be Image
the original sizes are these Image

Thank you in advance! :)
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49146
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: thumbnail image scaling options

Post by Jan »

Hi, in Phoca Gallery:

- you can crop thumbnails (see Options) - in such case all images will have the same size
- or if you cannot have cropped thumbnails (e.g. because people are displaying on the images) you can disable this option - in such case e.g. portrait or landscape will be displayed each to other (without deforming - if something deforms you the images, you should test template or system plugin settings), see e.g. here: http://www.fotografostrava.cz/galerie/c ... e-portrety

you can see landscape and portrait images next to each other (without deforming)

Jan
If you find Phoca extensions useful, please support the project
Olgaki
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 25 Dec 2013, 17:31
Contact:

Re: thumbnail image scaling options

Post by Olgaki »

Dear Jan

Thank you for advices. Could you please explain where can I find system plugin settings or how can I test template?
Olgaki
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 25 Dec 2013, 17:31
Contact:

Re: thumbnail image scaling options

Post by Olgaki »

So that I can do non-deformed images
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49146
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: thumbnail image scaling options

Post by Jan »

Hi, Phoca Gallery does not do any deformed images - it just crop them (if set in Options) or not (you can see it on the link above). If something on your site deforms the images (if system plugin or template css) I really don't know, but this needs to be found and tested (e.g. to switch to some standard template for test, etc.)

Phoca Gallery Options: https://www.phoca.cz/documents/2-phoca-g ... e-joomla-3

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