Display 1 image

Phoca Gallery plugins - plugins for Phoca Gallery extension
User avatar
red2678
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 23 Mar 2009, 03:12

Display 1 image

Post by red2678 »

So I have a plugin statement that works just fine. It displays the image I want for the thumbnail. However, when I click on the image, it just opens the category and start with the first image.

So I guess my question is, can I display a particular image as the thumbnail and when the thumbnail is clicked the popup display that same image and NO other?

Here is my current statment:

{phocagallery view=category|categoryid=6|imageid=30|limitstart=0|limitcount=1|detail=4|displayname=1|displaydetail=1|imageshadow=shadow1|float=right}

Thanks! :)

Red
User avatar
caro84g
Phoca Hero
Phoca Hero
Posts: 1369
Joined: 11 Feb 2008, 17:52
Location: Holland
Contact:

Re: Display 1 image

Post by caro84g »

Hi,

by default it should enlarge the thumbnail. The limit parameters aren't needed when you provide an image id, so maybe that's the problem. (default for displayname and displaydetail is 1, so you don't need to add that, if you want that to be visisble)

The code could be:
{phocagallery view=category|categoryid=6|imageid=30|detail=4|imageshadow=shadow1|float=right}

Regards, Carolien
Please ask your support questions in the forums and not via PM - I delete those PM's
Backup before you do any major change to your website (and test first)
User avatar
red2678
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 23 Mar 2009, 03:12

Re: Display 1 image

Post by red2678 »

Hi Carolien,

Thanks for the response! This is a great product, and you guys do a great job in this forum. So after taking a much closer look and about 3 pots of coffee later, I have found the issue. The issue is with Sh404sef.

If I disable sh404SEF, the plugin links work just fine. However, when I enable sh404sef, the plugin links render like this:

http:// www. mydomain. com/all-albums/the-crew/?buttons=1&detail=4

I am missing the image name. Do you think you could help? :cry:

Thanks,

Red
User avatar
caro84g
Phoca Hero
Phoca Hero
Posts: 1369
Joined: 11 Feb 2008, 17:52
Location: Holland
Contact:

Re: Display 1 image

Post by caro84g »

well, I don't have sh404sef - so... I don't know

do you display the images with the plugin and with a menu link? (so that the images have a URL, formed by the menu-item id)?

If not, try that. See: https://www.phoca.cz/documents/14-phoca- ... gin/97-faq

I don't know if it works, but you could always try to do it.

Regards, Carolien
Please ask your support questions in the forums and not via PM - I delete those PM's
Backup before you do any major change to your website (and test first)
Post Reply