
Tagged: masonry
-
AuthorPosts
-
June 10, 2025 at 6:57 pm #1485297
I have recently begun using pagination on the masonry gallery element and have just discovered that if The user clicks load more and then clicks on one of the photos to launch the slide show lightbox it only shows the most recent photos that were just revealed . It seems like the slide show light box should show all of the photos that have been revealed or ideally just to show all the photos since you don’t really need a load more in the slide show light box feature.
Thanks!
RobJune 11, 2025 at 7:05 am #1485308Hey goldengate415,
Thank you for the inquiry.
We are not able to reproduce the issue on our end. Whenever the load more button is clicked, the new set of images is added to the lightbox group correctly. Please create a test page and provide the URL in the private field so we can check it further.
Best regards,
IsmaelJune 13, 2025 at 1:48 am #1485392Hey Ismael! I apologize I misunderstood the feedback from my client. He was asking for it to show the entire slide show even if those photos have not been yet loaded By clicking load more. So for example a gallery with 50 photos But only three visible because loadmore has not yet been clicked if you clicked on one of the photos before clicking load more it would show the entire 50 instead of just the first three in the slide show.
Is there any way to do this? Thanks!!
June 13, 2025 at 6:31 am #1485396Hi,
Thank you for the clarification.
Unfortunately, that is not possible without modifications to the theme. By default, you would need to display all 50 images on the same page and disable pagination or the “load more” button. If you’re interested in implementing the modification yourself, you can refer to the documentation below.
— https://dimsemenov.com/plugins/magnific-popup/documentation.html#initializing-popup
You’ll need to create a button or use the masonry items as trigger and specify the images manually in the items array.
$('#some-button').magnificPopup({ items: [ { src: 'path-to-image-1.jpg' }, { src: 'http://vimeo.com/123123', type: 'iframe' // this overrides default type }, { src: $(' <div>Dynamically created element</div> '), // Dynamically created element type: 'inline' }, { src: ' <div>HTML string</div> ', type: 'inline' }, { src: '#my-popup', // CSS selector of an element on page that should be used as a popup type: 'inline' } ], gallery: { enabled: true }, type: 'image' // this is default type });
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.