I can't believe this feature doesn't exist somewhere.. My webcam uploads images to the server. I would like to view these images in Gallery but the images (and thumbnails) would need to be pulled into Gallery automatically as new images arrive, and as old ones expire and are deleted from the directory. I was using the phpAutoGallery script but hoping for something that works the same way with Gallery.
Posts: 27300
Have you seen: http://codex.gallery2.org/Gallery2:Modules:webcam
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 5
I have seen the webcam plug-in but what I had in mind is to display the photos already in the web server directory (archive), rather than refreshing a single image straight from the cam. These files are written to the web server so that if something happened in front of the camera, it can be stored safely. The dynamic gallery feature (if such existed) would allow me to quickly review the photos for anything interesting or suspicious. The files continue to change on a rolling basis.. next time I hit refresh, the old images are gone and new ones appear. The filenames are just based on the current date/time.
Posts: 27300
There is a recent modification that uses a cron job to add itmes. Search and yous should find it.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 5
Ok after realizing Gallery doesn't have something close to what I need, I found a simple gallery script that works great for this purpose:
http://www.dynamicdrive.com/dynamicindex4/php-photoalbum.htm
Posts: 2
Hello ,
Sorry for diging up old threads from 2008, but the question from fpbear is the same as mine. I need to "create" a gallery from a dynamic directory (photos are uploaded by IP camera). I have cron on the webhosting service, please advice me how I cand use it , i've searched for a solution but i can't find one. If not cron, then other solutions are welcomed.
Thank you for your time.
Posts: 16504
If you want to use Gallery there is this as an option:
http://gallery.menalto.com/node/81010#comment-284733
As well as the webcam plugin Dave posted a link to above.
Otherwise Gallery may be overkill for what you want.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 5
After my original post I found the perfect solution. I've been using the PHP Photo Album Script from Dynamic Drive. It is way better than using Gallery for this specific purpose of dynamic thumbnail generation. I use it for my webcams. This one is faster than other scripts I tried out.
http://www.dynamicdrive.com/dynamicindex4/php-photoalbum.htm
Posts: 4342
Just as a bit of background, G2 does generate thumbnails (or other derivatives) automatically if they do not already exist at the time they are requested by a browser. What is not automatic is the "import" of the original image entering it into the database so it appears in an album. The import of the image and the creation of the thumbnail are two different processes in G2.
Posts: 5
alecmyers, what you say is technically correct; however from a practical viewpoint the lack of an automatic import feature makes it hard to use G2 as a webcam image history viewer. I found the PHP Photo Album Script mentioned above to fill this void wonderfully for this special purpose.
Posts: 4342
Indeed, I'm sure it does. I just wanted to make the point so that when someone reads this thread in the future they don't get unnecessarily confused about whether G2 does or doesn't generate thumbnails automatically.
Great that you found something appropriate, and thanks for posting the details to help others find solutions for their needs.
Posts: 2
Hello.
Glad to hear that you found a suitable solution for your request.
The solution presented by ftBear don't meet my needs. I need to have a database to store the date of photos because each day there are more than 500 photos. These photos are stored for 90days and i need a "calendar" like table in wich I can chose, if I click on a day for example, to show only the photos taken on that respective day. Imagine how dificuly would be to watch more than 60.000 photos to find the one I need. Thé photos are 640x480.
Thank you for further advices.