Hubdb images attributes

Hi,

Is it possible to retreive images attributes (width and height) from an hubdb table form the field image?

@Miguel4Teixeira

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.

hmm…

Maybe you can add an example of your code.

Here is a screengrab of my code and a working preview.

Hi @dennisedson ,

Theres a print of my code:

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.