WordPress.org

Ready to get started?Download WordPress

Forums

get_the_post_thumbnail not working (2 posts)

  1. nberidze
    Member
    Posted 1 year ago #

    get_the_post_thumbnail() is being passed a custom thumbnail size defined with add_image_size().

    After I upgraded to WP 3.5.1, the size of the thumbnail is a downsized version of the original size of the image as it was when first uploaded, even though I later edited and saved it using the new WP image editor.

    In WP 3.5, the get_the_post_thumbnail returned the image as I saved it in the image editor.

  2. nberidze
    Member
    Posted 1 year ago #

    It is the "featured image" which is the problem. After I upgraded to WP 3.5.1, it is not the featured image I saved which is returned, but the original image as it looked when first uploaded. The problem seems to lie in this new image editor.

Topic Closed

This topic has been closed to new replies.

About this Topic