WordPress.org

Ready to get started?Download WordPress

Forums

Media settings not working for medium setting (1 post)

  1. helgatheviking
    Member
    Posted 4 years ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Topic