WordPress.org

Support

Support » Themes and Templates » Media settings not working for medium setting

Media settings not working for medium setting

  • I was hoping to define the image sizes in my theme using

    update_option( 'thumbnail_size_w', '150' );
    update_option( 'thumbnail_size_h', '150' );
    update_option( 'medium_size_w', '588' );
    update_option( 'medium_size_h', '441' );
    update_option( 'large_size_w', '928' );
    update_option( 'large_size_h', '696' );

    everything seems to go into my DB just fine. I’m on a local setup so it is easy to see that everything is correct in the DB. Everything looks fine on the media settings page too.

    However, when I add a picture to a post… when it comes time to pick a size and insert the picture…. only the thumbnail and large versions are using the correct dimensions. the medium dimension seems stuck at a width of 300 no matter what.

    it doesn’t seem like I am doing something wrong seeing as the others work. is it a bug?

  • The topic ‘Media settings not working for medium setting’ is closed to new replies.
Skip to toolbar