Support » Themes and Templates » twenty ten theme shrinking image width

  • Resolved oddetc

    (@oddetc)


    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?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Michael

    (@alchymyth)

    Forum Moderator

    did you change this as well?

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

    in style.css

    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?

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘twenty ten theme shrinking image width’ is closed to new replies.