Problem/Motivation
When the external image uri is (temporarily) not available and no fallback image is configured, the image render array is still build. If the 'Link image to' option is set, this results in the rendering of an empty link
Proposed resolution
Don't render the link if the image path is invalid.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | imagecache_external-dont_render_empty_image-2929943-2.patch | 706 bytes | tvoesenek |
Comments
Comment #2
tvoesenek commentedThis patch should fix it.
Comment #3
idebr commentedI can confirm the issue. The patch correctly prevents the field from rendering an empty link.
Comment #4
BarisW commentedThanks for the patch, looks good!
Comment #6
BarisW commented