A
Anonymous
City Image Resources Management
Generate an admin page for managing image resources for worlds cities each image represents one city. It should have a view of existing images (list or table); it should have a download <a download> link button; it should have a small preview of an image with city IATA code under it; it should have a large on demand preview of an image in a new modal; it should have a delete button with delete handler (remote API); it should have an upload new city image button with a modal to select a file, input city IATA code and upload an image; it should have a search by iata code; sort alphabetically; edit button can reuse the modal for creating an asset but with pre filled data.
Prompt
