Page 1 of 1

Thumbnail selection

Posted: 04 Jun 2024, 11:53
by Opendreas
Hello,

the documentation has a type parameter for selecting a thumbnail, but it doesn't work.
type - set type of images: 0 - standard medium image, 1 - small image (Mosaic effect), 2 - large image (for single image displaying)
https://www.phoca.cz/documentation/77-p ... ery-plugin

If I understand correctly code from the phocagallery.php, then the documentation is not up to date and almost all parameters have been removed?

Code: Select all

$view = '';
$id = 0;
$max = 0;
$imageid = 0;
$limitstart = 0;
$limitcount = 0;
$imageordering = 1;

$image_categories_size = 'medium';
$img_cat = 1;
I display one image in an article or a category with images, and everywhere the middle thumbnail is taken by default.
Thumbnails are needed to improve navigation through the article and speed up the loading of the site.
Phoca Gallery is not able to display the original photo, so the maximum resolution, for example 5000 x 4000 pixels, has to be set for a large thumbnail.
It is logical that to display the Grid you need to use a small thumbnail, for example 320 x 240 pixels, and to display one photo, a medium one, for example with a resolution of 800 x 600 pixels. Otherwise, all this loses its sense.

How can I implement what I described? Are there any additional customizations planned?

Re: Thumbnail selection

Posted: 18 Jun 2024, 00:11
by Opendreas
In Phoca Gallery Button Plugin
https://imgur.com/a/rpzcnRL

I can select the thumbnail size for categories
https://imgur.com/a/GOnGkPB

Is it possible to add such an option for images and Masonry?
https://imgur.com/a/1Ayklsp

Re: Thumbnail selection

Posted: 18 Jun 2024, 01:35
by Jan
Hi, yes, the documentation needs to be updated, the plugin was completely overwritten to meet new web requirements so many parameters were removed.

Jan