If a node is set up to use multiple imagefield fields per node type then on node creation first uploaded image thumbnail is displayed, additional images are not. There are no errors, just the thumbnails for image fields other than the first are not displayed. I've allowed alt/title/desc fields and those are displayed for each image field.

Comments

nonsie’s picture

Status: Active » Needs review
StatusFileSize
new1017 bytes

Scratching my own itch - this was caused by admin thumbnail size being set to 100x100px while my other image field was allowed to be between 60x40 and 100x100 pixels which made image_scale for admin thumbnails return false. The attached patch uses uploaded image size to create admin thumbnail if its width or height is less than 100px. This is probably not the best approach and admin thumbnail size should be configurable but is better than no image at all.

nonsie’s picture

Title: Multiple imagefield fields per node type - first uploaded image thumbnail is displayed, additional images are not » Use uploaded image dimensions to create admin thumbnail if image is smaller than 100x100px

Title change

nonsie’s picture

There really is no reason to use resize, copy works better in this case

drewish’s picture

Status: Needs review » Fixed

thanks, committed to HEAD.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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