Today there's an incredible amount of theme functions created for the imagecache presets and to be able to override them one of have to override each one of them.

Attached is therefor a patch that makes the theme-function all of these formatter-theme-functions points to a theme-function of itself and as such overrideable in itself.

In other words - this patch make theme_imagecache_formatter into a real overrideable theme function.

CommentFileSizeAuthor
imagecache_theme_generalisation.patch2.35 KBvoxpelli

Comments

drewish’s picture

Status: Needs review » Closed (duplicate)

sorry this got ignored for so long. i agree it was kind of a mess trying to theme individual formatters. i actually just committed a fix for this today (#437098: Unneeded node_load in theme_imagecache_formatter) so grab a copy of the -dev and take a look. i think you'll be pleased.