DavidAJohn / PhotoPortfolio

Personal photo portfolio .NET web application which implements a Blazor and Tailwind CSS user interface with a MongoDb database, and includes integration with Stripe Checkout and Prodigi Print API
0 stars 1 forks source link

Admin section - re-order images within a gallery #38

Open DavidAJohn opened 1 year ago

DavidAJohn commented 1 year ago

At the moment, there's no way to re-order the images within a gallery without manually altering them in the database.

This will need some thought. Ideally, I'd like to have a drag and drop interface where images themselves are moved around, but doing that within a masonry grid will be difficult. Perhaps we could display a list of images on one side (with thumbnails?), allowing drag and drop re-ordering of the list along with a masonry grid next to it which dynamically updates as the list order changes.

DavidAJohn commented 1 year ago

The MudBlazor Drop Zone could be used for re-ordering the list of images.