Setting up gallery2 for importing wide range of formats as jpgs without storing originals.

moro

Joined: 2007-07-27
Posts: 38
Posted: Tue, 2007-08-21 18:33

I am setting up a new gallery2 site for our organizations images. It will be used as a way to get a quick look and find relevant images for projects. We have about 12,000 images of many different types. Most are .jpg .tif and several .EPS in CMYK. The .tifs are 20-40MB each. What I would like to do is convert all images into 640x480(max) jpgs in RGB upon adding them to gallery2. I do not need to have the originals available in gallery 2 just the 640x480 image. I would prefer NOT to have the originals as the size will be several TB total. I think I know generally what to do, I just want a sanity check on if I am right and how well it would work. If I would be better off doing the conversions externally please let me know.

I would like to keep the steps for adding images as easy as possible, after I do the setup I will be handing over most of the day to day work to a non-techy person.

1. I need to set the max pixel sizes using the size limit module to 640x480. I take it during the import resize is when the conversion to .jpg takes place?

2. For the .eps CMYK files I need to add in the "-colorspace RGB" argument in the proper code place. To get the generated .jpgs to be RGB.

I plan on using a Win2003 server running Apache 2.X PHP 5.x and use ImageMagick for the image work.