I am looking for an option to re-size the images while uploading from a content type.
I can set the max upload size to 8 mb and while user uploads the images it should be resized to a lesser size automatically.
How can i do it?
Drupal Answers is a question and answer site for Drupal developers and administrators. It only takes a minute to sign up.
Sign up to join this communityI am looking for an option to re-size the images while uploading from a content type.
I can set the max upload size to 8 mb and while user uploads the images it should be resized to a lesser size automatically.
How can i do it?
Follow the steps.
1) Add new image style from Configuration->image style
2) Go to your content type and Edit the image field
3) Select your newly created image style from the "preview image style" dropdown list and then save settings.
Now the images will be resized according to your created style.
You should check these modules:
Despite the name, this module does not depend on ImageAPI. It depends only on the core image.module. Please read the documentation page for more information.
You can define the maximum size for the image field. That means you could have individual settings for every content type and for every image field you use. Just check the settings on structure > content types > my content type > fields > image field
. The images will then be resized to a maximum size according to your settings.