WordPress cropping media images
-
Howdy!
Here’s what I’m trying to do. I have a site that is 960px wide. The content column is 600px wide.
What I want to do is add images within posts that stretch all 960px across. But no matter what I do, no matter how large I tell the images to be, they are being cropped to 600px.
My Settings > Media sizes are:
Thumbnail: 150×150
Medium: 300×300
Large: 102×1024I also have this in my functions.php (picked it up from another thread):
global $wp_version; if ( version_compare( $wp_version, '3.6', '>=' ) ) : add_theme_support( 'content-width', 960 ); else : if ( ! isset( $content_width ) ) $content_width = 960; endif;
Nothing has been of any avail. When I look at the image with Google’s Dev Tools, it says the width is 600px but that the “Natural” width is 2400px (or whatever).
So it appears WordPress is cropping my images somewhere unbeknownst to me.
Any ideas? Thanks a million for the help!
- The topic ‘WordPress cropping media images’ is closed to new replies.