the new version of imagecache uses a slightly different function and schema, so instead of
_imagecache_get_presets() returning an array like (1 => 'preset1', 2=> 'preset2', ...)
the new function imagecache_presets() returns array( array('presetid' => 1, 'presetname' => 'preset1'), array('presetid' => 2, 'presetname' => 'preset2'), array(...) )
this patch handles both those cases, and sorts the options array by key.
| Comment | File | Size | Author |
|---|---|---|---|
| rotor_imagecache_patch.txt | 980 bytes | kscheirer |
Comments
Comment #1
nestor.mata commentedThis patch was implemented and committed in the new 5.x-1.6 version.
Now this new version works with imagecache and imagecache2.
Thanks a lot Karl.
Comment #2
senpai commentedAwesome! That only took one day!
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.