Closed (fixed)
Project:
ImageCache
Version:
6.x-2.0-beta10
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
30 Nov 2010 at 21:19 UTC
Updated:
30 May 2011 at 16:41 UTC
ImageCache iteratively applies operations to an image (actually, in most cases, these queue the operations for a server-side toolkit like GD) but loses changes to the image array between operation invocations because _imagecache_apply_action() doesn't use pass-by-reference. External services like Smush.it (refer http://drupal.org/project/imagecache_smushit ) need to alter the image array in order to affect downstream operations.
This change could have implications for ImageCache actions that alter the image array without the changes persisting.
| Comment | File | Size | Author |
|---|---|---|---|
| imagecache_apply_action.patch | 527 bytes | jonathan_hunt |
Comments
Comment #1
sreynen commentedSingle character patch to opens up more use cases? Easy RTBC.
Comment #2
YK85 commentedsubscribing
Comment #3
drewish commentedCommitted to 6.x-1.x