Support » Fixing WordPress » WP doesn't read anymore the_post_thumbnail – and it doesn't use the resized thum

  • Hi, it all worked fine for years. But in the last post it stopped working.

    In wp-admin/options-media.php there are different sizes.

    I use and used to upload images 600px width. The large image maximum width is 560px. The thumbnail/featured images have always been 560px width thanks to this:

    <?php if ( has_post_thumbnail() ) {the_post_thumbnail( 'large', array('class'=>'post_thumbnail_common', 'alt' => get_the_title() , 'title' => get_the_title(), 'itemprop'=>'image' ));} ?> 
    
    <?php the_content(); ?>

    But in the last post it didn’t work. WordPress instead of choosing the image justyna-05-560×373.jpg it takes justyna-05.jpg

    You can see it here and here.

    Why that?

Viewing 15 replies - 1 through 15 (of 17 total)
Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘WP doesn't read anymore the_post_thumbnail – and it doesn't use the resized thum’ is closed to new replies.