Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a way to reverse the default order of image display in Masonry? #1200

Open
atxaga1234 opened this issue Aug 31, 2024 · 0 comments
Open

Comments

@atxaga1234
Copy link

I'm using Masonry in conjunction with Bootstrap 5 to make a photo gallery page on my website. This is working nicely BUT the default display order for Masonry is by file name (from the camera) in descending order, so the most recent photos are displayed first (reverse chronological). This is fine for some galleries but doesn't make much sense for others (e.g. for an event, I'd prefer to see the images in a chronological order, from oldest to newest).

Is there a way to modify the default order?

Any help would be greatly appreciated. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant