PDA

View Full Version : Auto Resize Addon for folder copy


magnus
05-02-2008, 12:21 PM
Hello,

Is there way to have the Auto Resize Addon to resize pics that are imported via the folder copy addon ?

I have a bunch of pics to import and I would like them to be reduced, as if they were uploaded and resized via the web interface

Thanks in advance,

--
magnus

EdwinK
05-03-2008, 05:55 PM
Would like to see this too. I hate to have to manually upload 1 000+ pictures

magnus
05-03-2008, 06:57 PM
Hello,

I still haven't found a way to do it "automatically" but:

the files are organized as follows (the addon does not changes the db),
in images directory, the original pics are named fullsize_<name_of the_pic> and the reduced version has the name of the uploaded picture.

What I did was to import the pics with the copy folder addon (in order to be added to the db) and then created the reduced images with mogrify and change the filenames.

Doing so avoids also the php timeouts you may have as this intensively loads the server.

Either you do it on your machine and upload the reduced version (although this would require that you modify the name of the files on the server), or you have ssh/telnet access on your server and do it there.