WordPress.org

Forums

using get_post_thumbnail with custom size,some work old post does not (3 posts)

  1. cyngate
    Member
    Posted 2 years ago #

    added
    add_image_size('mmycustomize', 100,115,true);
    images that are added today, when queried with get_post_thumbnail(array(100,115))
    will work but old posts that had already had images uploaded does not, old attachments are shown as 100X100 because these images are originally square in size,
    is there a way to make these old attachments upload to get the new feature as well??

  2. phe.le
    Member
    Posted 2 years ago #

    You need to regenerate all the thumbnails.

    http://wordpress.org/extend/plugins/regenerate-thumbnails/

  3. cyngate
    Member
    Posted 2 years ago #

    thanks for fast reply

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.