• Help Desk reporting gives you real-time visibility into your support operation without the manual work. Ask our experts about which metrics matter most! AMA Dec 8-12.

    Ask us anything

get title/alt-text of Image column type

lsmith77
Contributor

I have a table with an Image column type. I am able to read out the "url" property to render the image, but I am struggeling to figure out how I can fetch the title and alt text.

 

lsmith77_0-1676994541425.png

 

 

 

{% if dynamic_page_hubdb_row.meme.url %}
  <img src="{{ dynamic_page_hubdb_row.meme.url }}" title="{{ dynamic_page_hubdb_row.meme.image.name }}" alt="{{ dynamic_page_hubdb_row.meme.image.default.alt }}" />
{% endif %}

 

 

 

0 Upvotes
1 Accepted solution
ankitparmar09
Solution
Top Contributor

Hello @lsmith77 

 

Yes, it can have achievable but different way. Follow the references document, it can 100% helps you.

 

Screenshot see:

ankitparmar09_0-1681737573937.png

 

References link: https://www.bluleadz.com/blog/how-to-create-an-image-gallery-in-hubspot-using-hubdb

 

image.png

View solution in original post

0 Upvotes
2 Replies 2
ankitparmar09
Solution
Top Contributor

Hello @lsmith77 

 

Yes, it can have achievable but different way. Follow the references document, it can 100% helps you.

 

Screenshot see:

ankitparmar09_0-1681737573937.png

 

References link: https://www.bluleadz.com/blog/how-to-create-an-image-gallery-in-hubspot-using-hubdb

 

image.png

0 Upvotes
lsmith77
Contributor

yeah that is what I am doing but it means duplicating the alt text in every single place where you use the image.

0 Upvotes