Closed (fixed)
Project:
ImageCache
Version:
5.x-2.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 May 2008 at 14:41 UTC
Updated:
12 Nov 2008 at 22:14 UTC
Jump to comment: Most recent file
Comments
Comment #1
hanoiiRelated to same bug in imagefield #260672: Imagefield field formatter is generating broken output when no actual image (or default) is available.
Comment #2
alippai commentedSimple, clear patch... tested...
Comment #3
ar-jan commentedWorks, great!
It was quite annoying to have an 'f' show up for empty fields in a View.
Comment #4
masande commentedi was going to suggest a similar patch until i finally found this one. tested and works as intended.
Comment #5
fairwind@drupal.ru commented$item['fid'] is empty even if default image is set (leading to no default image). it's better to check $item['filename']
Comment #6
hanoii@fairwind: Right, another problem on imagefield #310047: Field is not removed from shared content_field_XXX table on delete just led me to this issue once more and you're right about using 'filepath' for the if condition.
Attached is the new patch against new version of imagecache.
Comment #7
drewish commentedthanks, committed to HEAD.
Comment #8
drewish commentedmarked #300549: hook_field_formatter, theme_imagecache as a duplicate
Comment #9
drewish commentedmarked #280367: Don't imagecache_field_formatter() a non existent image as a duplicate
Comment #10
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.