How to add single image to article

Phoca Gallery - image gallery extension
slycrespo
Phoca Member
Phoca Member
Posts: 30
Joined: 10 Sep 2013, 16:13

How to add single image to article

Post by slycrespo »

Hello!
What is the code to add single image to an article? I have Phoca Gallery Plugin installed and enabled..
Thanks!
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9122
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: How to add single image to article

Post by Benno »

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
slycrespo
Phoca Member
Phoca Member
Posts: 30
Joined: 10 Sep 2013, 16:13

Re: How to add single image to article

Post by slycrespo »

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
This code shows a thumbnail instead of whole image.. Please help!
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9122
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: How to add single image to article

Post by Benno »

Hi,
This code shows a thumbnail instead of whole image.. Please help!
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).

Kind regards,
Benno
slycrespo
Phoca Member
Phoca Member
Posts: 30
Joined: 10 Sep 2013, 16:13

Re: How to add single image to article

Post by slycrespo »

So there is no way to display an image in full size?
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9122
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: How to add single image to article

Post by Benno »

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="" /> :idea:

Kind regards,
Benno
Post Reply