Hi,
Is it possible to retreive images attributes (width and height) from an hubdb table form the field image?
Hi,
Is it possible to retreive images attributes (width and height) from an hubdb table form the field image?
Yes, this is available to you. You can access it by adding .width and .height to you image
Example:
{% for row in hubdb_table_rows(4824747) %}
{{ row.feature_image.width }}
{% endfor %}
Hi @dennisedson ,
That does not work, I have already tried it. It returns “null” for width and height.
Hi @dennisedson ,
I have solved it. The problem was in the import of the table content, it was made by csv. I uploaded the images, inserted manually and now its all ok.