WordPress.org

Ready to get started?Download WordPress

Forums

Post Thumbnail - get the size (2 posts)

  1. ben4d85
    Member
    Posted 2 years ago #

    How can I get the actual thumbnail size that WordPress uses for a particular image when calling the_post_thumbnail('mysize'); (and the image is smaller than mysize)? Is there a wp php function to get this size?

  2. raskull
    Member
    Posted 2 years ago #

    Not exactly sure what you're asking, but maybe there's something here for you? http://codex.wordpress.org/Function_Reference/set_post_thumbnail_size

Topic Closed

This topic has been closed to new replies.

About this Topic