Automatical image size conversion on upload

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
westis

Automatical image size conversion on upload

Post 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!
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Automatical image size conversion on upload

Post 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.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Automatical image size conversion on upload

Post 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
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Automatical image size conversion on upload

Post 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. 
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
westis

Re: Automatical image size conversion on upload

Post 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.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Automatical image size conversion on upload

Post 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
Locked

Return to “CMSMS Core”