Designit.Gallery lightbox only works with one gallery on same page
Hi,
I am using the designit.gallery project and i want to have multiple galleries on the same page. The lightbox only seems to work with the first gallery macro and the other gallery macros just open the images on new pages. It doesn't matter what gallery id is first it only opens the first macro gallery in the lightbox.
the lightbox doesn't work at all if i don't have the form runat="server" there.
Is there a way i can get around it? I have a media picker for each gallery and they show fine as thumbnails, again only the first macro gallery thumbnails show in the lightbox regardless of what id they are.
Designit.Gallery lightbox only works with one gallery on same page
Hi,
I am using the designit.gallery project and i want to have multiple galleries on the same page. The lightbox only seems to work with the first gallery macro and the other gallery macros just open the images on new pages. It doesn't matter what gallery id is first it only opens the first macro gallery in the lightbox.
This is how they are on my template:
<form runat="server">
<umbraco:Macro folderId="[#gallery2]" ThumbWidth="100" ThumbHeight="100" LightBoxWidth="900" LightBoxHeight="900" Alias="Designit.Gallery" runat="server"></umbraco:Macro>
<umbraco:Macro folderId="[#gallery]" ThumbWidth="100" ThumbHeight="100" LightBoxWidth="900" LightBoxHeight="900" Alias="Designit.Gallery" runat="server"></umbraco:Macro>
</form>
the lightbox doesn't work at all if i don't have the form runat="server" there.
Is there a way i can get around it? I have a media picker for each gallery and they show fine as thumbnails, again only the first macro gallery thumbnails show in the lightbox regardless of what id they are.
Any ideas would be appreciated.
Thanks
is working on a reply...