Issue 466: Image Gallery picks up all rel="gal" tags in page
Status:  Fixed
Owner: ----
Closed:  Apr 2010
Reported by duple...@gmail.com, Apr 23, 2010
What steps will reproduce the problem?
1. If I set the rel="gal" tag to images that are in different groups on 
the page.
2. When I click on the first group it displays the gallery however it also 
shows all the other groups.
3. What I want to know is how do I get it to only show individual groups?

What is the expected output? What do you see instead?
I want to be able to set up multiple galleries on one page

eg. image gallery 1 has 4 images
image gallery 2 has 10 images

and when I clcik on gallery 1 the popover should only show me the 4 
images. When I clcik on gallery 2 it should only show me the 10 images for 
this gallery.

How do I restrict it to each group? 

What version of the product are you using? On what operating system?

WAMP server on XP SP2


Please provide any additional information below.

Sample below

Sample file

Only show images in gallery 1 (no next button after image 4)
<div id="group1>
    <center><a  href="images/large/1.jpg" class="nyroModal" title="image 
1" rel="gal"><img src="images/small/1.jpg" alt="Click on image to 
enlarge" /></a></center>
    <a href="images/large/2.jpg" class="nyroModal" rel="gal" title="image 
2"></a>		  
    <a href="images/large/3.jpg" class="nyroModal" rel="gal" title="image 
3"></a>		  
    <a href="images/large/4.jpg" class="nyroModal" rel="gal" title="image 
4"></a>		  
    <br />
</div>

Only show images in gallery 2 (no next button after image 7)
<div id="group2>
    <center><a  href="images/large/16.jpg" class="nyroModal" title="image 
1" "rel="gal"><img src="images/small/1.jpg" alt="Click on image to 
enlarge" /></a></center>
    <a href="images/large/12.jpg" class="nyroModal" rel="gal" title="image 
2"></a>		  
    <a href="images/large/13.jpg" class="nyroModal" rel="gal" title="image 
3"></a>		  
    <a href="images/large/14.jpg" class="nyroModal" rel="gal" title="image 
4"></a>		  
    <a href="images/large/15.jpg" class="nyroModal" rel="gal" title="image 
5"></a>		  
    <a href="images/large/17.jpg" class="nyroModal" rel="gal" title="image 
6"></a>		  
    <a href="images/large/18.jpg" class="nyroModal" rel="gal" title="image 
7"></a>		  
    <br />
</div>





Apr 23, 2010
#1 duple...@gmail.com
Please close this issue

Sorry guys I worked it out.
For anyone else having trouble do this
for each gallery group set the rel to a unique name e.g.

gallery 1

1.jpg rel="gal1"
2.jpg rel="gal1"
3.jpg rel="gal1"

gallery 2

21.jpg rel="gal2"
22.jpg rel="gal2"
23.jpg rel="gal2"


Once again sorry being being such a fool and not thinking about this long enough
Apr 24, 2010
Project Member #2 nyro...@gmail.com
(No comment was entered for this change.)
Status: Fixed