Willy-JL / F95Checker

GNU General Public License v3.0
123 stars 20 forks source link

Image gallery #158

Open Willy-JL opened 6 months ago

Willy-JL commented 6 months ago

Started backporting and refactoring littleraisins' code for image gallery the other day, putting it here to keep track.

Still not 100% sure on a few things, I'm figuring them out as I go. For now, banner images stay as [id].ext, new images go to [id]/[index].ext starting from 0 (as opposed to raisins' breaking change of moving banners too), a little more convoluted but worth it for tidyness and backwards compatibility.

It is not ready to run in current state, don't even try.

Willy-JL commented 6 months ago

Just realized that we don't really need to rename the column in the database

Willy-JL commented 6 months ago

Also I realized that I had 2 branches still in the repo from when I made PRs to littleraisins, so I now added the last changes from a zip downloads of his repo when it was delisted, so we have a backup with atleast a little bit of git history of his fork

FaceCrap commented 6 months ago

Can't wait to give it a spin, and would love to see a proper working slideshow (running on the same monitor as where the checker is open.)

One thing I hope you'll find a fix for, when I used that feature on the copy I played with, I always got logged out in the forum. I suspect the forum software has some kind of built-in detection for images getting downloaded other than through the forum itself.