Page 1 of 1

Automatical image size conversion on upload

Posted: Sun Apr 16, 2006 5:29 pm
by westis
Hi people,

Background:
I'm helping my mother with a site where there will be lots of photos on some of the pages. The photos should be with a set maximum height/width, and one after another. Like on this page: http://www.oskarshamn.se/oscargym/oscar ... rs2006.htm

The problem is that the original photos are usually much bigger than the intended size.

Question:
Is there a way to automatically convert the sizes of the photos while bulk uploading them? There's a lot of hassle opening, editing and saving each individual photo in Photoshop, then uploading each one separately.

Issues:
I know there is the new ImageGallery tag. But what I'm after is not a gallery with thumbnails. Also, bulk uploading and automatically convert the image size would make this sooo much easier. :D

Possible solutions?
Can pipictures do this? The new ImageManager that is in development? Any photo gallery module that is simple enough?

Thanks!

Re: Automatical image size conversion on upload

Posted: Sun Apr 16, 2006 5:39 pm
by calguy1000
Hi Westis

On unix (or even on windows, I'm not sure) this would be a breeze with ImageMagick

convert origfilename -resize widthxheight outputfilename

which of course could be scripted to do a bunch of files in batch
then they could be uploaded via ftp with no problems.

Re: Automatical image size conversion on upload

Posted: Sun Apr 16, 2006 5:52 pm
by Dr.CSS
Hey guys
i know this is off topic but i have this image galley thing and was wondering if one of you might be able to help me, i need something to read a folder and make an out of the img. it finds.

  thanks
            mark

Re: Automatical image size conversion on upload

Posted: Sun Apr 16, 2006 8:47 pm
by calguy1000
maksbud.... I'm pretty sure you could get 99% of the way there, just with the Uploads module, at least for the images in one directory.  The uploads module doesn't currently support nested categories.

But if this doesn't work, a little plugin to generate a list is not tough wok. 

Re: Automatical image size conversion on upload

Posted: Sun Apr 16, 2006 8:47 pm
by westis
Thanks for the reply, Calguy.

Can GD do it? Would it be possible to make a tag/module out of this?

I'm kind of out in the woods here. I just know that I need a super-easy method for my no-geek mother to upload her photos from the digital camera or photos she's sent by e-mail, and then present them just as easily on the page. Even FTP is a much-too-complicated step, unless the new Image Manager has bulk upload in it.

I suppose a way could be if there is a bulk upload feature in Image Manager that optionally also can convert the image size, and an additional feature of the ImageGallery tag that can display non-clickable full-size photos where thumbnails now are shown. But those are not there yet...

:)



calguy1000 wrote: Hi Westis

On unix (or even on windows, I'm not sure) this would be a breeze with ImageMagick

convert origfilename -resize widthxheight outputfilename

which of course could be scripted to do a bunch of files in batch
then they could be uploaded via ftp with no problems.

Re: Automatical image size conversion on upload

Posted: Sun Apr 16, 2006 9:05 pm
by Dr.CSS
calguy
i load my images with FTP,, so gettin them there is no problem, what i need is that,, little plugin to generate a list is not tough wok thing. 
when i upload images this way i just go to the folder or img. in Content » Image Manager and it creates thumbnails automaticaly.

  mark