Anyone know of an image resize module.
I have just had users / web editor muck up a great design by uploading the wrong sized image.
I wonder if anyone has a way of getting the system to resize an image on upload along its longest side with its ratio kept
While on this subject a {content image="true"} tag would be great if it could show in the admin section a browse and upload button for an image - this coupled with the above would stop users mucking up the design. Anything like this? Or is it planned for 2.0?
Thanks
Dan
Image resize module / script?
Re: Image resize module / script?
In the admin section you can upload images 2 ways, Image Manager or File Manager...
If you want to restrict image size in the page content you can use CSS and specify only one measurement, width or height, and it will auto size the other, but if the image is smaller than specified size it will be upsized and it may end up looking pixilated...
Also if using too large images and changing size in CSS you may notice a slight lag in page loading...
Image manager does have the image edit feature which can resize them to your specifications but you have to do it manually...
If you want to restrict image size in the page content you can use CSS and specify only one measurement, width or height, and it will auto size the other, but if the image is smaller than specified size it will be upsized and it may end up looking pixilated...
Also if using too large images and changing size in CSS you may notice a slight lag in page loading...
Image manager does have the image edit feature which can resize them to your specifications but you have to do it manually...
Re: Image resize module / script?
Thanks I guess what I am after is an on upload action that pipes into image magix engine maybe
Or a module that allows an upload content block with paramaeters to push the image through an image manipulation script on upload
Anything like these exist?
If my coding was not so rusty I might have just built one, but I am at the smarty / .sh level only
Thanks Dan
Or a module that allows an upload content block with paramaeters to push the image through an image manipulation script on upload
Anything like these exist?
If my coding was not so rusty I might have just built one, but I am at the smarty / .sh level only
Thanks Dan
Re: Image resize module / script?
You can ask the author of the ImageManager Module, if he want add an "Event" to the module, which is triggered after an image upload.Thanks I guess what I am after is an on upload action that pipes into image magix engine maybe
(an "ugly" hack for the moment can be, to add some code to thumbs.php)