WordPress.org

Support

Support » How-To and Troubleshooting » using get_post_thumbnail with custom size,some work old post does not

using get_post_thumbnail with custom size,some work old post does not

  • cyngate

    @cyngate

    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??

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘using get_post_thumbnail with custom size,some work old post does not’ is closed to new replies.
Skip to toolbar