I would like to display the pixel dimensions of an image in my application.
Is there a way when loading an image in a <img dmx-bind:src="image.jpg">
to somehow get the pixel width and height of that image?
I would ideally like to end up with <img dmx-bind:src="image.jpg" dmx-dind:width="000" dmx-bind:height="000">
where 000 changes to be whatever the image currently is.
Community Page
Last updated:
Last updated: