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
How to choose between small/medium thumb when using plugin button ?
-
dotcom22
- Phoca Enthusiast

- Posts: 54
- Joined: 10 Nov 2008, 18:19
- Jan
- Phoca Hero

- Posts: 49144
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: How to choose between small/medium thumb when using plugin button ?
Hi, yes, just change the small to medium in the code:
https://phoca.cz/documents/14-phoca-gal ... ery-plugin
Jan
https://phoca.cz/documents/14-phoca-gal ... ery-plugin
Jan
If you find Phoca extensions useful, please support the project
-
dotcom22
- Phoca Enthusiast

- Posts: 54
- Joined: 10 Nov 2008, 18:19
Re: How to choose between small/medium thumb when using plugin button ?
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?
- Jan
- Phoca Hero

- Posts: 49144
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: How to choose between small/medium thumb when using plugin button ?
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
{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
If you find Phoca extensions useful, please support the project
-
dotcom22
- Phoca Enthusiast

- Posts: 54
- Joined: 10 Nov 2008, 18:19
Re: How to choose between small/medium thumb when using plugin button ?
Hi
I tried this
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 ?
I tried this
Code: Select all
{phocagallery view=category|categoryid=4|imageid=37|type=0}- Jan
- Phoca Hero

- Posts: 49144
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: How to choose between small/medium thumb when using plugin button ?
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)
Jan
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)
Jan
If you find Phoca extensions useful, please support the project
-
dotcom22
- Phoca Enthusiast

- Posts: 54
- Joined: 10 Nov 2008, 18:19
Re: How to choose between small/medium thumb when using plugin button ?
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.
{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.
- Jan
- Phoca Hero

- Posts: 49144
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: How to choose between small/medium thumb when using plugin button ?
Hi, just set the 150x150 for the medium thumbnails in Phoca Gallery options and recreate the thumbnails.
Jan
Jan
If you find Phoca extensions useful, please support the project