Posted by zarne on January 19, 2013 at 2:49pm
Is there a module that reduces the image size when uploading to the server?
I would like to avoid having to reduce the image size before I upload images to my site.
But is it possible?
Is there a module that reduces the image size when uploading to the server?
I would like to avoid having to reduce the image size before I upload images to my site.
But is it possible?
Comments
Yes. In d6 it's a contrib
Yes. In d6 it's a contrib module called image cache and in d7 it is in core and its called image styles.
If you really want to reduce
If you really want to reduce the image size before uploading (for instance to get around a PHP max upload size setting) then that is not technically possible. Drupal doesn't get it's hands on the file intill it's on the server. There is some stuff in the HTML5 spec that may make this possible in the future, but for now no.
If you don't mind uploading the large file and just need it resized and/or cropped for display, the ImageCache is what you need.
Thanks
Thanks for your help. It also gave me a bit more understandig of Drupal, and that is good!
I am new user of Drupal...