Adding external links to display in the modal box
Posted: 16 Mar 2011, 02:38
Hello, I need to use phoca gallery (along with phoca downloads) in a creative way.
Basically I need to create a gallery that displays thumbnails of images like it currently does in category view. When the the thumbnail images are clicked, a lightbox pops up with the image in larger view. Above the lightbox, I need 1 or 2 external links displayed depending on whether I entered in 1 or two links... Basically I am linking the external links to a zip file in phoca downloads that contains the image in hi rez or low rez along with a text file.
So in a perfect world, I need to edit the component to:
1. Display thumbnails in the category view as they currently do but WITHOUT any other icons. Just the thumbnail.
2. When the thumbnail is clicked, the modal box appears with the larger image plus the external link icons above the photo.
I have been looking through the component code to try and figure out which files to edit and I still feel a bit lost. Any help would be greatly appreciated.
Amazing components! Great work!!
Cheers,
Brandon
Basically I need to create a gallery that displays thumbnails of images like it currently does in category view. When the the thumbnail images are clicked, a lightbox pops up with the image in larger view. Above the lightbox, I need 1 or 2 external links displayed depending on whether I entered in 1 or two links... Basically I am linking the external links to a zip file in phoca downloads that contains the image in hi rez or low rez along with a text file.
So in a perfect world, I need to edit the component to:
1. Display thumbnails in the category view as they currently do but WITHOUT any other icons. Just the thumbnail.
2. When the thumbnail is clicked, the modal box appears with the larger image plus the external link icons above the photo.
I have been looking through the component code to try and figure out which files to edit and I still feel a bit lost. Any help would be greatly appreciated.
Amazing components! Great work!!
Cheers,
Brandon
