Hello!
What is the code to add single image to an article? I have Phoca Gallery Plugin installed and enabled..
Thanks!
How to add single image to article
- Benno
- Phoca Hero
- Posts: 9689
- Joined: 04 Dec 2008, 11:58
- Location: Germany
- Contact:
Re: How to add single image to article
Hi,
For example: This code displays the fifth image of category ten.
{phocagallery view=category|categoryid=10|limitstart=4|limitcount=5|max=1}
Just install the Phoca Gallery Button Plugin to generate valid code.
Kind regards,
Benno
For example: This code displays the fifth image of category ten.
{phocagallery view=category|categoryid=10|limitstart=4|limitcount=5|max=1}
Just install the Phoca Gallery Button Plugin to generate valid code.
Kind regards,
Benno
-
- Phoca Member
- Posts: 30
- Joined: 10 Sep 2013, 16:13
Re: How to add single image to article
This code shows a thumbnail instead of whole image.. Please help!Benno wrote: ↑31 Dec 2023, 18:45 Hi,
For example: This code displays the fifth image of category ten.
{phocagallery view=category|categoryid=10|limitstart=4|limitcount=5|max=1}
Just install the Phoca Gallery Button Plugin to generate valid code.
Kind regards,
Benno
- Benno
- Phoca Hero
- Posts: 9689
- Joined: 04 Dec 2008, 11:58
- Location: Germany
- Contact:
Re: How to add single image to article
Hi,
Kind regards,
Benno
Yes, of course. Phoca Gallery displays thumbnails. Normally the medium thumbnails in the category view and the large thumbnails in the detail view. (When a thumb is clicked on in category view).This code shows a thumbnail instead of whole image.. Please help!
Kind regards,
Benno
-
- Phoca Member
- Posts: 30
- Joined: 10 Sep 2013, 16:13
Re: How to add single image to article
So there is no way to display an image in full size?
- Benno
- Phoca Hero
- Posts: 9689
- Joined: 04 Dec 2008, 11:58
- Location: Germany
- Contact:
Re: How to add single image to article
Hi,
Phoca Gallery can create thumbnails with sizes other than the standard sizes, i.e. also the size of the original image, cropped or uncropped, but they remain thumbnails.
If it absolutely has to be the original image, I would not use the Phoca Gallery Plugin, but display it directly in an article using:
<img title="" src="" alt="" width="" height="" />
Kind regards,
Benno
Phoca Gallery can create thumbnails with sizes other than the standard sizes, i.e. also the size of the original image, cropped or uncropped, but they remain thumbnails.
If it absolutely has to be the original image, I would not use the Phoca Gallery Plugin, but display it directly in an article using:
<img title="" src="" alt="" width="" height="" />

Kind regards,
Benno