Hi I'm very new to Drupal and trying to learn how to use it better. I want know how to "display" an image dimensions.
I'm looking to display them in the file entity view.
If any one can tell me how or point me in the right directions please.

I have already searched in google and what comes up only tells me how to modify them which i already know how ot do through CSS or the image tool kit Drupal has.

I'm just looking to display them.

Thanks

Comments

VM’s picture

D7 = http://drupal.stackexchange.com/questions/52389/output-the-width-height-... . It may give you something to chase down for D8.

Tyetho’s picture

This seems to be the path I want to go, everything else was only telling me how to change them.
I will just need to learn/know how to do it in a D8 view.

codetoils’s picture

This would allow the markup to specify multiple image sources, and display the appropriate one based on specific browser widths, and then rely on a “fallback” in any other case. The proposed markup would look something like this:




Only local images are allowed.

Accessible text