foreverlarz / sappho

Automatically exported from code.google.com/p/sappho
0 stars 0 forks source link

use aws ec2 for image resizing #23

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
currently, we require the user to resize the images into three versions.

we could, however, simply have the user upload the high-res version, and
have an ec2 instance resize the photo into the necessary versions.

ref:
http://developer.amazonwebservices.com/connect/entry.jspa?externalID=1602&catego
ryID=175

Original issue reported on code.google.com by lucasreddinger on 14 Oct 2008 at 1:28

GoogleCodeExporter commented 8 years ago
while this is a possibility, the costs to the webmaster probably outweigh the
benefits. a local script would be better (albeit less portable).

we can still consider this, though, if we can make the configuration for the
webmaster extremely simple.

Original comment by lucasreddinger on 20 Jul 2009 at 1:28

GoogleCodeExporter commented 8 years ago
what about using something along the lines of image magick ?
http://www.imagemagick.org/script/index.php

Server side software for image manipulation. I currently use it on a project and
works very well.  User uploads an image, the image is scaled down to proper 
size,
then moved to S3.  Works well.

Original comment by ikm...@gmail.com on 16 Sep 2009 at 5:49

GoogleCodeExporter commented 8 years ago
yeah, that's a good idea. php's gd2 could also be used. it would work like this:

user uploads high-res versions to s3.
user visits manage/import.php.
import.php downloads all of the new images, resizes them, and uploads these 
resized
versions.

i prefer a local script because it eliminates one of the transfers. a local 
script
would work like this:

user has a directory that contains some high-res images.
user runs a script that resizes the images and then uploads them all to s3.
user visits import.php to organize them into sets, add titles, and add captions.

---

thanks for the comments! are you using the sappho code? do you do similar 
things with
amazon web services? how did you find us? reply to the group mailing list!

http://groups.google.com/group/project-sappho

Original comment by lucasreddinger on 16 Sep 2009 at 7:45