Support » Plugin: Photo Gallery by 10Web - Mobile-Friendly Image Gallery » “Default Sorting” freaking out at 50 pictures or more

  • Resolved Lazylonewolf

    (@lazylonewolf)


    When using “default sorting” when modifying a gallery, the order starts going bonkers if it contains 50 or more images.

    One of my galleries has 54 images. Whenever I try to rearrange images through Drag&Drop or Numerate, the last 4 images get moved into the #1-4 spots. The only way to reorganize it no problem is through modifying the bwg_image table through SQL. But if I update the gallery in any way through Add Galleries/Images, it will move the last images again.
    – If I update the gallery without any changes, nothing happens
    – If I reorder even one image, the last 4 images will be brought to the 1st-4th positions, moving the rest to a lower position. This can keep happening indefinitely.
    – I just tested it with deleting 2 images (52 images in the gallery left). It didn’t reorder anything after deleting the two images, but if the images are recorded it moves the last two to the top instead.
    – Then I deleted two more (50 images in the gallery). Reordering is working properly now.

    I don’t know if it’s just me and my cheap shared hosting (I hope not), a “limit” of 50 images per gallery for default sorting, and/or if it’s a bug.

    • This topic was modified 1 month, 3 weeks ago by Lazylonewolf.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter Lazylonewolf

    (@lazylonewolf)

    Sorry, typo:
    – – I just tested it with deleting 2 images (52 images in the gallery left). It didn’t reorder anything after deleting the two images, but if the images are recorded reordered and then the gallery is updated, it moves the last two to the top instead.

    Also:
    I made another gallery just in case it was that one gallery. “Default order” still gets messed up after 51 or more images.

    Thread Starter Lazylonewolf

    (@lazylonewolf)

    (I don’t know why the other text below wasn’t added when I edited the previous comment:
    – For all the tests, I’ve set pagination (Number of items per page in Screen Options) to 200+ since I have a gallery with almost 199 images. Like with the others, if I reorder the images there the last 50 images get moved to the first 50 positions. So I had an idea…
    – I’ve tested this on a duplicate of the gallery with 199 images: setting pagination to 50 images. No problems with default ordering. But yeah, having a large gallery like this makes it almost impossible, if not too much of a hassle, to reorder images across pages.

    Plugin Support Asya Gabrilyan

    (@asyag)

    Dear @lazylonewolf,
    Sorry for this belated response.

    Please allow some time for an upcoming update.
    It should address all the issues you have been referring to.

    Sincerely,

    Thread Starter Lazylonewolf

    (@lazylonewolf)

    @asyag Cool, thanks. I’m guessing there aren’t many galleries (specifically photos rather than art) that use more than 50 images so this wasn’t a problem before.

    Plugin Support Asya Gabrilyan

    (@asyag)

    Dear @lazylonewolf,
    Please delete your current version and upload this one:
    https://drive.google.com/file/d/19DEwCg8SMkwszzYjjJNG2jOaR3_9d50u/view?usp=sharing

    Let us know if the sorting issue persists afterward.

    Sincerely,

    Thread Starter Lazylonewolf

    (@lazylonewolf)

    @asyag Alright, I’ve tested this on:
    – Two galleries containing 148 and 200 images, respectively
    – Screen Options pagination set to 300 items

    I’ve only checked the first and last images in the galleries since there’s a lot of them, but from what I’ve seen, both are now sorting properly on Default without problems.

    Thank you, I’ll mark this as resolved.

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.