iWiccle has offered automatic scaling of images for long. Here are detailed notes on how you can customize the auto-scaled image sizes and use them in different contexts.
If you open up /core/variables.php, you'll find the following variables:
$core['image_sizes'] = array("mini"=>60, "thumbnail"=>160, "small"=>250, "medium"=>400, "large"=>600);
$core['save_original_images'] = FALSE;
The first array of sizes correspond to the image sizes you find in the Sidebar image uploader (available when you post content) and in the Builder image uploader (when you edit pages). The size is the maximum height or width of the image, whichever is greater, in pixels.
The sizes can be anything you want, and as many as you want. If you wanted to have a 800px option for example, you could add in "huge"=>800, or for even larger, "massive"=>1024. If the uploaded image is less than the desired size, the largest available size will be copied in instead of an artificially up-scaled version.
If you want to save the original images, you can change the save_original_images value to TRUE. Originals will be available in /uploads/module/ with a new system-given name, while the scaled images are under /uploads/module/thumbs/ with their size prefixes. Be aware that while storing uploaded source images can be good for future purposes, it can also take up large amounts of space! For more information on uploaded file naming and specifications, Read here ».
If you want to change image sizes for a single module (for example if you want large resolution images for your photo gallery), you can add the image_sizes configuration with your custom values into the module's configuration file (modulename_config.php) in the /modules/ folder.
Don't make too many versions, because they all take up disk space. If you know you will only be using images of 60px and 250px in the News module for example, you can change the image_sizes setting in news_config.php to have just these two values, and save the space of the redundant images. (In version 1.21.1, you can also customize JPEG compression quality in configuration files if you are short on space.)
Remember that already uploaded images won't be rescaled. While I have a tool in the works to take care of this (subject to limits imposed by largest available source image size), the image rescaling deal is something to keep in mind in the meantime. (So that your old photos don't stop displaying when you add in new custom sizes, for example.)










