Page 1 of 1

How to choose between small/medium thumb when using plugin button ?

Posted: 09 Jul 2017, 20:17
by dotcom22
Hello Jan

When adding an image inside article with your button plugin, is always small thumb which is included. I would like be free to choose medium... I thinking that possible to individually choose the thumb size to include in article...not the case ??

thank you

Re: How to choose between small/medium thumb when using plugin button ?

Posted: 11 Jul 2017, 19:35
by Jan
Hi, yes, just change the small to medium in the code:
https://phoca.cz/documents/14-phoca-gal ... ery-plugin

Jan

Re: How to choose between small/medium thumb when using plugin button ?

Posted: 11 Jul 2017, 19:59
by dotcom22
Already read that page...those params are the same than then on in plugin...no one make mention about thumbs. I try with Swap image but no result. Have you please a code example?

Re: How to choose between small/medium thumb when using plugin button ?

Posted: 13 Jul 2017, 23:40
by Jan
Hi, see the type parameter, e.g.:

{phocagallery view=category|categoryid=1|limitstart=0|limitcount=2|type=1}

Type 1 will display mosaic view, which means that the small thumbnails will be displayed (the view is not the same like by medium thumbnails, so it needs to be additionaly CSS stylized)

Jan

Re: How to choose between small/medium thumb when using plugin button ?

Posted: 18 Jul 2017, 12:44
by dotcom22
Hi

I tried this

Code: Select all

{phocagallery view=category|categoryid=4|imageid=37|type=0}
But this like that don't work... So in practice is not possible by default to include inside Joomla article a tag which allow to display one specific medium size thumbnail which open related large size image ? I need to apply some css for do this ?

Re: How to choose between small/medium thumb when using plugin button ?

Posted: 19 Jul 2017, 17:19
by Jan
Hi, what do you mean with "that don't work"?

Yes, you can use the method for all images at once, it is not possible to set which image will have medium and which small thumbnail size (except the code will be not modified directly) :idea:

Jan

Re: How to choose between small/medium thumb when using plugin button ?

Posted: 19 Jul 2017, 18:21
by dotcom22
with this I get thumbnail of 96x96:

{phocagallery view=category|categoryid=1|imageid=28|type=0}

with this I get thumbnail of 46x46:

{phocagallery view=category|categoryid=1|imageid=28|type=1}

with this I get thumbnail of 96x96:

{phocagallery view=category|categoryid=1|imageid=28}

Url below show you my thumb setup...So when I could get thumb of 150x150 ?

https://ibb.co/nQ5Rzk

My goal was to increase the size of medium or small thumb to 25x250 because my gallery is actually almost empty and without interfering with thumb published in Phoca Menu Pro which fit my size need.

Re: How to choose between small/medium thumb when using plugin button ?

Posted: 19 Jul 2017, 23:23
by Jan
Hi, just set the 150x150 for the medium thumbnails in Phoca Gallery options and recreate the thumbnails.

Jan