Images Inside Tables

You can add images in your table by using the img tag.

For example:

SELECT cat, '<img src="https://demo.redash.io/images/'|| cat ||'.png" alt="cat" width="'||20||'" height="20";>' AS image
FROM cats

Please note that || is a PostgreSQL operator/function - for other databases, you'll need to use the suitable concat operator.

You can view a live example in our demo account.

Still need help? Contact Us Contact Us