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.

CommentFileSizeAuthor
rotor_imagecache_patch.txt980 byteskscheirer

Comments

nestor.mata’s picture

Status: Needs review » Fixed

This 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.

senpai’s picture

Awesome! That only took one day!

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.