It’s been a while, since you asked, but I noticed nobody in answers mentioned Mark Down. You can use it to put an image, just like this: .
I don’t know if I well understood what you want. If your list is static or comes from a database… I didn’t test to display images from a database field, but I think it is possible.
Did you try that?
If you have a static list of URL images, it sure can be done, as below:
I've tried with a Question and it didn't worked, as shown (the picture compares the effect of Mark Down in a Question retrieving a field content with a text box element).
Hello,
I would like to use images in text cards to improve the level of information in the dashboards. Using the markdown editor, I wrote a text and a link to the image. The size of the image is the problem, I would like to reduce the size to 24x24 as an icon. I read that markdown on METABASE did not take into account the html code. Is there another way to fix the size of my image?
I thank you in advance for your answers.
cordially
Save (a copy of) the image with the size reduced somewhere on the public/private web.
If it’s something like the arrow you show in the example you can use emojis as part of the text like (just copy/paste from here or a emoji site) … if you want it bigger make it a title with one or more #s
Ah sorry! Guess you’re right, but forgot since I played with it last time.
I think the markdown rendererer actually sizes pictures to available space. That’s good if you want to add a cat picture (or other photos) - but not for your use . The problem of course is one default way can’t handle two cases. Add on top of that that Markdown syntax has no standard way to specify sizing. Still hope in your case the emoji way is usable?
Hello Jornh, it still doesn’t work to reduce the size of the image. The emoji doesn’t work neither. I was wondering what would be the next the improves for the textcard function for the new version of METABASE ?
or design the templates yourself - using e.g this already existing open source tool: https://acdesignerbeta.azurewebsites.net/ - which means there’s no work in building it as part of Metabase.
As you can see it’s not a text editor but more a form designer based on some components/rules. I realize you were specifically asking about adding images, so for those there are already some defined rules for styling, placement and sizing.
It can allow you to combine what you can do with a Text Card (an Active Card TextBlock can have Markdown formatting) with what you can do with a Number Card. The last part should be done by adding a reference in the card where you want to place the number or/value like for example:
Today's score is {{question_id.score}} and the weather forecast for tomorrow looks like it will be {{question_id.weather_image_url}}