|
S3_Utilization
How project sappho uses S3.
Getting your photos into S3You must resize and upload your photos manually, at present. Tools such as IrfanView and Jets3t make batch conversions and uploads very quick and easy for Windows users. You'll need to choose a bucket and a path. If you'd like to store your photos in the location http://BIG-BUCKET.s3.amazonaws.com/things/my_pictures/, you must create a bucket named BIG-BUCKET. Your path would then be things/my_pictures. sappho uses a very specific directory structure. Within your chosen path, you'll have two folders: a and b.
If you're uploading one image named 00000001.jpg, you'll need it in two sizes, both with the same filename, in both of the folders a and b. sappho requires a numerical filename with the extension .jpg. These are examples of valid image filenames:
Once you get the two sizes uploaded for a given file name, the photo should appear when you visit /manage/import.php. Automated scriptsPerhaps you'd like to code some shell scripts that automatically resize and upload your photos! That would be great! When we have more time to code, such scripts may become a part of this project's code base. (See Issue 24.) |
Sign in to add a comment