[resolved] twenty ten theme shrinking image width (4 posts)

  1. oddetc
    Posted 6 years ago #

    the page in question is: http://sftattoo.com/artists/

    the code I'm using to put the image on the page is: <img src="http://sftattoo.com/wp-content/uploads/2010/07/artists855.png" alt="" title="artists855" width="855" height="400" class="aligncenter size-full wp-image-149" />

    I don't understand why wordpress is shrinking my images width, and is there any way to fix it? I already tried changing the widths in style.css, and changed: if ( ! isset( $content_width ) )
    $content_width = 855; in functions.php
    but it looks as if the images on the site are being shrunk to a width of 640px, but the no column theme is supposed to allow up to 900 and mine is only 855 (header width).. Any help is appreciated as I have no idea what's causing the width squish.

    Also, is there anyway to apply the HEADER_IMAGE_WIDTH to this image?

  2. Michael
    Forum Moderator
    Posted 6 years ago #

    did you change this as well?

    /* Images
    -------------------------------------------------------------- */
    #content img {
    	margin: 0;
    	height: auto;
    	max-width: 640px;

    in style.css

  3. oddetc
    Posted 6 years ago #

    looking at the site some more it looks like it's scaling any image I put into a post as images that are cropped to 640px are being scaled, images cropped to even 500px are being scaled.. has anyone else noticed this?

  4. oddetc
    Posted 6 years ago #

    Thank you alchymyth, that did it! I swore I had already tried that.. anyways thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic