Home>Support>Widget Gallery loads nearly all the pictures from the media library

Widget Gallery loads nearly all the pictures from the media library

Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].

Hi Community,

I have a strange behaviour in picture galleries. I’m using your page Builder Plugin and if I embed a gallery in a block on a site and add some pictures to this gallery, the previews of these pictures are shown as expected, but if I click on a picture to open the large view and click through the gallery, many more pictures appear. Almost all pictures from the media library. If I create several galleries and place only a few images in each, all the images appear in each gallery.

It all must have happened today when I added these images to several galleries on one page and tried to change the order of these galleries by drag and drop. Another gallery added yesterday works as expected, even when I create a new gallery with these images.

It seems to be due to these today uploaded pictures. I have already deleted all the affected pictures from the gallery and uploaded them again with a new name but this has not changed anything. The pictures are still all loaded, although now with the new names.

Does anyone have any tips on how to solve the problem?

The URL of the problematic gallery: https://www.lampenfischer.de/marktplatz/
The URL of the working gallery: https://www.lampenfischer.de/category/products/

Please note that the entiere site password protected due to work in progress. The password is: hans

Thanks in advance & Bye Tom

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 4 years, 6 months ago Andrew Misplon
    Hi, I Work Here

    Hi Tom

    Thanks for reaching out.

    For interest sake the attachment page can be viewed here https://github.com/siteorigin/vantage/blob/f10dc226058daa93da1482e1935f5409ffef9eb9/image.php#L29-L30. The navigation being used is:

    https://developer.wordpress.org/reference/functions/previous_image_link/
    and
    https://developer.wordpress.org/reference/functions/next_image_link/

    In the case of next_image_link the functionality is described as:
    Whenever a series of images are linked to the attachment page, it will put a ‘next image link’ with the images when viewed in the attachment page.

    The next and previous links will find all images attached to the page but also all images that aren’t attached to any page. From within WordPress if you click Media and then switch to the list view you can see the attachment page in an easy to use view.

    Hopefully, the above helps. It might be worthwhile switching to a lightbox for your galleries. There is a lightbox contained in SiteOrigin Premium.

    https://demo.siteorigin.com/premium/lightbox/

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More