BuddyDev

Search

[Resolved] MediaPress – In-gallery lightbox view

  • Participant
    Level: Master
    Posts: 413
    Venutius on #6238

    Hi Brajesh,

    Would it be possible to add a “Browse” button to the image Gallery in-gallery view wherebye clicking on it would open up a lightbox browse of the images in the gallery? I have a few instances where the only view of the gallery the user gets is from actually within the gallery, so they do not get to benefit from the lightbox views and I find them preferable to loading a new page to go to the next image in that gallery.

  • Keymaster
    (BuddyDev Team)
    Posts: 21463
    Brajesh Singh on #6239

    Hi George,

    Opening a gallery in lightbox is very easy in MediaPress. Here is what you need to call in javascript

    
    mpp.lightbox.gallery( gallery_id, position, url );
    

    Where gallery_id is the ID of gallery, the position is which item in the gallery should be displayed as first and the url is fallback url.

    So, yes, you can use JS and open the gallery in lightbox as you wish.

    Hope that helps.

  • Keymaster
    (BuddyDev Team)
    Posts: 21463
    Brajesh Singh on #9207

    marking it as resolved.

The topic ‘ [Resolved] MediaPress – In-gallery lightbox view’ is closed to new replies.

This topic is: resolved