andreknieriem / photobooth

A photobooth Web-Application for raspberry pi with gphoto2
https://photobooth.andrerinas.de/
MIT License
294 stars 163 forks source link

Gallery picture import #286

Closed HappySeppel closed 3 years ago

HappySeppel commented 3 years ago

Hello @andreknieriem and others,

is there a way to import pictures in the gallery so that the "database" known that a new picture is arrived in the picture folder? Especially when no photo is taken by it self.

I want to use an other raspberry to view all the pictures witch are taken by an other photobooth.

Has anybody an idear?

andi34 commented 3 years ago

Hey! This sounds like you want to use a own gallery and not the Photobooth itself. You'd better look at a lightbox, e.g. https://github.com/andreknieriem/simplelightbox , and setup for your needs.

On Photobooth we're using https://github.com/dimsemenov/PhotoSwipe

Other solution would be you disable the database and read the files from the folder instead, on a lot of pictures this might reduce the performance. Example: https://github.com/andi34/photobooth/commit/f89982c9ccc837b7994c57f384f5f23c09de4606

Best regards

Andi