Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Molly 94 posts 134 karma points
    Oct 18, 2012 @ 17:55
    Molly
    0

    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  

     

Please Sign in or register to post replies

Write your reply to:

Draft