Download & Extend

Imagecache Smush.it

Optimize images using Yahoo!'s Smush.it webservice. The Smush.it service can often produce savings of 70-90% on image sizes.

This module defines an ImageCache preset that sends images to Smush.it and then retrieves the optimized image. This may have privacy implications for your data.

This is *very* alpha code, and relies on a patch to ImageCache (see #985598: Changes to image data lost between operations).

Index: imagecache/imagecache.module
===================================================================
--- imagecache/imagecache.module (revision 20724)
+++ imagecache/imagecache.module (working copy)
@@ -449,7 +449,7 @@
  * @return
  *   Boolean, TRUE indicating success and FALSE failure.
  */
-function _imagecache_apply_action($action, $image) {
+function _imagecache_apply_action($action, &$image) {
   $actions = imagecache_action_definitions();

   if ($definition = imagecache_action_definition($action['action'])) {

If you manage your own server, also consider ImageAPI Optimize.

Downloads

Version Downloads Date Links
6.x-1.0-alpha1 tar.gz (7.75 KB) | zip (8.67 KB) 2010-Nov-30 Notes

Project Information


Maintainers for Imagecache Smush.it

Issues for Imagecache Smush.it

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports
Statistics (2 years)
New issues
Open bugs
Participants