Support » Fixing WordPress » add_image_size

  • Resolved frogger_box

    (@frogger_box)


    I really hope someone can help with this because I’ve looked everywhere.. :/

    I moved a site to a new domain and now add_image_size isn’t working at all, it just shows the image in its original dimensions

    am using:

    add_action( 'after_setup_theme', 'theme_setup' );
    
    function theme_setup() {
    
    		add_theme_support( 'post-thumbnails' );
    		set_post_thumbnail_size(314, 170, true); // normal thumbs
    		add_image_size( 'single-post', 950, 425, true	);
    }

    And to view the images:

    the_post_thumbnail( 'single-post' );

    I have checked the GD libraries are installed and they are
    I have tried disabling all plugins
    I have tried regenerating thumbnails for current uploads
    I have also tried uploading new images in new posts

    Any advice appreciated because I’m at a loss as to what to do 🙁
    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘add_image_size’ is closed to new replies.