I’m trying to make an info block on my WordPress website I am working on.
I want to get the height X width of the photo:


I want it printed out on the page something like:

image size: 1234x123 1.2mb

I just don’t know how to make it. I have tried a lot of different examples I found on the web but I always get different errors.

Hope someone has an idea of a good way to do this. 🙂

Read more here: Get height and width from image in wordpress


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Wordpress related questions and answers: