Thumbnail selection
Posted: 04 Jun 2024, 11:53
Hello,
the documentation has a type parameter for selecting a thumbnail, but it doesn't work.
If I understand correctly code from the phocagallery.php, then the documentation is not up to date and almost all parameters have been removed?
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?
the documentation has a type parameter for selecting a thumbnail, but it doesn't work.
https://www.phoca.cz/documentation/77-p ... ery-plugintype - set type of images: 0 - standard medium image, 1 - small image (Mosaic effect), 2 - large image (for single image displaying)
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;
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?