Support for images, do not set text if empty