Currently when you view a node the image that gets loaded is for the first attribute, even if that attribute doesn't use images.

It would be good if it tried to find an attribute that did have an image for the default option first, then default to the first attribute if there is none.

That is what this patch does. Don't know if it is something others want but it works well for me.

CommentFileSizeAuthor
uc_option_image-default_image.patch1.92 KBagileware

Comments

cybis’s picture

Status: Active » Needs work

This is a great idea, but the patch doesn't seem to be complete. It creates a function 'uc_option_image_get_default_attribute', but the function is never called.