Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

Autogen Thumbnails

edited May 2006 in Vanilla 1.0 Help
I am running a simple webcam for my own amusement on my mac mini at home. For various reasons, I do not want to put a custom PHP install on that machine. The PHP install on Tiger is sufficient enough to use Filebrowser, but it doesn't support the GD library. Since I am just using a bash script in cron to copy my webcam images to my Filebrowser directory, it was easy enough for me to write a simple python script that could be used to generate the thumbs for me. I am providing a link to my python script in case anyone would like to use it to get ideas for their own scripts. http://www.nd.edu/~ray/genfbthumbs.py.txt Right now the script works on JPG files, since that is all that I use, but it could easily be edited for whatever you want to use it for, so long as the Python Image Library(PIL) supports it. I am not fronting this as "good" code, but it is a good start to anyone that is in a similar situation. --Ray

Comments

This discussion has been closed.