• Resolved thecaryl

    (@thecaryl)


    Hi, I have a sequentially numbered series of images I have uploaded to my WordPress to use in FooGallery. Both filenames and image title (labelled in WP Media) begin with an integer, and run 1 through 48. However, FooGallery (specifically the the Masonry Image Gallery set at 3 column) orders integers as follow: 1, 10, 11, 12 […], 2, 20, 21, 22 […], 3, 30, 31 and so on. So I changed to 001, 002, 003. But now it orders them: 001, 002, 003 / 005, 004, 003 / 009, 008, 007 / (with ‘/’ denoting a new row). So each row runs in reverse alphabetical/alphanumeric aside from the first row. If I order the gallery by reverse alphabetical, it essentially does the same thing, but starting at 048, but the order is lost by the second row.

    Surely not rocket science. I’d love to go to Pro on this, but so far it is failing a basic test. How can I alphabetise? Or are we limited to A-Z and thus only 26 images in a gallery?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author bradvin

    (@bradvin)

    hey @thecaryl

    Please link to your gallery so I can take a look.

    Are you using the masonry template? Please note that the masonry layout “fills gaps” depending on the aspect ratio of your images, which can mess with the ordering of the images in some cases.

    Under the hood, we use the built-in WP post query for querying the attachments, so I am pretty sure the sorting is rock solid, otherwise this issue would also occur in WP.

    Thread Starter thecaryl

    (@thecaryl)

    Hey @bradvin

    This page uses FooGallery masonry layout (with FooBox):
    https://thecaryls.co.uk/portfolio-test/
    – out of sequential order

    This page uses WP native gallery (with FooBox):
    https://thecaryls.co.uk/portfolio/
    – This page has the correct order, i.e. matches the sequential filenames of the portfolio images in the Media library

    Thanks

    Plugin Author bradvin

    (@bradvin)

    hey @thecaryl

    Thanks for the links. I had a look at the page source of your first page. The images are being rendered to the page in the correct order (1..48) from an HTML point of view. If these images are not being shown in the correct order, then that is being caused by the masonry javascript library which comes bundled with WordPress, so there is nothing we can do about it unfortunately.

    Your images all have the same aspect ratio, so have you tried using the other gallery templates?

    Hi @thecaryl,

    We haven’t heard back from you regarding this so will assume you’ve resolved the issue and I’ll close this support request.

    Please open a new support request if we can help with anything else.

    Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Poor image ordering by title’ is closed to new replies.