WestonV / RJI-Image-Classifier

Machine Learning Image Classifier Designed to Help Journalists and Photographers
MIT License
2 stars 0 forks source link

Add Gallery Sorting #1

Closed antoniomv3 closed 5 years ago

antoniomv3 commented 5 years ago

image

The user should be able to alter how the photos are presented to them.

Currently the system displays photos by descending score. The user should be able to switch between ascending and descending. They should also be able to designate ranges of scores they wish to see. We can add this functionality with prompts on the gallery page that facilitate such interaction and reload the page accordingly.

antoniomv3 commented 5 years ago

I have added a selection box that reloads the page automatically when the select option is changed. The reloaded page queries the database in whatever manner the user desired to update the gallery accordingly. The selection box default also changes to whatever the user last selected.

antoniomv3 commented 5 years ago

image image

User can now select how the photos are displayed

The page updates according to user choice and maintains the last user choice in the selection box.