Currently theme_imagefield_image_imagecache_lightbox2() uses $args['rel_grouping'] as the last fallback value before going for no grouping. I could not find a way to se its value by overriding the caller theming functions,
as lightbox2_imagefield_image_imagecache() does not allow to alter the values stored in the $args variable.

It would be useful instead to move $args['rel_grouping'] (which seems unused at the moment if I'm not mistaken) as the first choice and allow theming functions calling lightbox2_imagefield_image_imagecache() to set its value, this way we could pass an explicit grouping value overriding the default one.

CommentFileSizeAuthor
#1 lighbox2-872484-1.patch1.96 KBplach

Comments

plach’s picture

Status: Active » Needs review
StatusFileSize
new1.96 KB
stella’s picture

Status: Needs review » Fixed

Committed, thanks!

Status: Fixed » Closed (fixed)

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