Download & Extend

Imagecache Quality

imagecache_quality.png

(For Drupal 7 and 8, Image Quality module is available)

Set the image quality per ImageCache preset!

Through ImageAPI, you can set the quality of images ImageCache produces. But since ImageAPI allows you to set only one global value, any image produced by ImageCache ends up in the same quality. If you want to have the highest-quality images in a photo gallery while having lower-quality images elsewhere, you are stuck.

This module allows you to override ImageAPI's quality setting and set image quality per ImageCache preset. Unfortunately, since ImageAPI does not let other modules hook into / alter the process, you need to apply the supplied (unobtrusive) patches to the following modules for this module to work:

  • imageapi.module
  • imageapi_gd.module
  • imageapi_imagemagick.module
  • imagecache.module

The patches basically only add optional arguments to existing functions so even if if Imagecache Quality module is disabled after patching, the above modules would function as normal (as far as I am aware).
#725762: Quality Settings by ImageCache Profile
The patches, as well as an instruction on how to apply them / which version of ImageAPI / ImageCache to use, are found in README.txt.

Please remember to always flush the ImageCache cache every time you change the setting, if you want to see the effect immediately.

Credits

Development of this module was sponsored by Comic Relief UK

Disclaimer

As always, use it at your own risk. If you encounter any issue, please report through the issue queue. The developer or the sponsor cannot be held accountable for any of the damages which the module / patch may cause.

Downloads

Version Downloads Date Links
6.x-1.0-beta3 tar.gz (10.7 KB) | zip (13.05 KB) 2011-Oct-13 Notes

Project Information


Maintainers for Imagecache Quality

  • dokumori - 10 commits
    last: 1 year ago, first: 1 year ago

Issues for Imagecache Quality

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports
nobody click here