With the use of the function
the_post_thumbnail( 'thumbnail' );
I am able to get the post thumbnail in size which was set in the administration panel. What I need is to get the dimensions of the thumbnail (width and height) separetely, since there is more than one possible thumbnail size defined and I need to know the exact size of thumbnail for the post.
- The topic ‘How to get size of thumbnail?’ is closed to new replies.