How do I retrieve an image's width and height using Advanced Custom Fields?
-
02-11-2019 - |
Question
Using a get_field('sampleImage'), how would I go about in order to get the image's width and height using the ACF plug-in? I need to be able to print out the img tag with width and height attributes because of a script.
No correct solution
Licensed under: CC-BY-SA with attribution
Not affiliated with wordpress.stackexchange