Skip to content

Conversation

@luciencd
Copy link
Contributor

Created a new endpoint called /sampleimages/string:id in app.py to serve up images of samples in a new template called sampleimages.html.

This is only the first in many iterations to adding sample image functionality to the /sample/ flask endpoint.

It includes a bootstrap carousel of all the images of the sample that can be cycled through.

Future iterations to this sampleimages endpoint are (and they are outlined in the code).

  1. getting the image urls from the production metpetdb website.
  2. Making the carousel not show up first, instead showing a list of thumbnails first.
  3. replacing the little circles at the bottom of the carousel window with thumbnails that can be clicked to bring you to that image.

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

Successfully merging this pull request may close these issues.

1 participant