jeffpiazza / derbynet

Open-source Pinewood Derby race management, built around a web server and database
MIT License
100 stars 72 forks source link

Slideshow display only successful if explicitly labeled 'title.XXX' #311

Open farmerwd opened 8 months ago

farmerwd commented 8 months ago

I included a series of images in the slideshow folder (.../images/cub scouts/slides), but the call only displays an image if it is explicitly labeled title.png. I can see the next photo JS calls loading in - but nothing actually changes on the display. If there is no title.xxx in the directory, it's showing a broken image. I've tried to tinker with the playback code here, but I'm not finding out where this is at.

The documentation states: "If the slides folder contains an image named ‘title’ (e.g., title.png or title.jpeg), that image will replace the title slide for the slide show. Otherwise, all slides are presented after the title slide and before the racer photos, in order by file name."

I've tried different permutations of the label to see if that helps (title-1, title_2, title3, etc) but it's only displaying title. Is there a specific naming scheme I'm missing?

jeffpiazza commented 8 months ago

The folder called .../Images/Cub Scouts/slides is only consulted for a title slide. User-added slides would go in a different slides folder, found next to the folder of car and racer photos.

I can try to make the docs clearer on this point, certainly.

farmerwd commented 8 months ago

Oh fantastic! Thanks so much Jeff, I'll go move those over and see how it goes!