cclrobotics / ARTBot

Project to allow submissions of agar art and conversion of those submissions to bot-readable
MIT License
8 stars 5 forks source link

Image display and About page #69

Closed tsdobbs closed 4 years ago

tsdobbs commented 4 years ago

Two related features in this PR:

  1. Added an internal "About" page
    • Added about_text.html and wrote description and links there
    • Moved slideshow and Youtube embed to about page.
  2. Functionality for ad-hoc photo additions to the library - arbitrary process photos we want to display or, as in this case, art photos that we do not yet have uploaded to the artpieces table in the DB.
    • On render, generates a list of all photos in a defined directory, plus captions for them from EXIF information. The full list is added to the slideshow section in a random order
    • Captions are included with every photo, where available

For the sake of speed, the script references an internal directory and the current photos have been committed to the repo, but will probably eventually want to rewrite to use a URI set by an ENV var and get a media server.

tsdobbs commented 4 years ago

@brcb20 Obviously a quick manual test that it runs for you would be great, but also if you have design thoughts I'm open to them. My main goal is to push this by EOD tomorrow so that I can send out everyone's images via email finally and not be providing a dead link to the "/about" page.