Thumbnail size

Phoca Gallery plugins - plugins for Phoca Gallery extension
danscott
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 11 Apr 2008, 23:04

Hi,Is it

Post by danscott »

Hi,

Is it possible to set the thumbnail size in the plugin code? I see that I can change the default thumbnail size for all images, but I want to insert a single image on a page which is scaled to a particular size. e.g. I want something like:

{phocagallery view=category|imageid=0|width=200px}

A also see that there is an option for the image size for an entire category, but not one for a particular image.

Thanks,

Dan
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48536
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Hi, it is not possib

Post by Jan »

Hi, it is not possible, because the size is created before displaying... so you can define the size for the gallery component and after this definition you add images ... and thumbnails will be created ...

Plugin takes the image size from component and cannot set own because the thumbnails are already created (with their sizes)

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