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.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | imagefield_file.inc-admin-thumbnail-size.patch | 1 KB | nonsie |
| #1 | imagefield_file.inc-admin-thumbnail-size.patch | 1017 bytes | nonsie |
Comments
Comment #1
nonsieScratching 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.
Comment #2
nonsieTitle change
Comment #3
nonsieThere really is no reason to use resize, copy works better in this case
Comment #4
drewish commentedthanks, committed to HEAD.
Comment #5
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.