Forums

Maximum Image Size Not Displaying (2 posts)

  1. wcbuckner
    Member
    Posted 1 year ago #

    Hello, I've read many threads on similar topics but have been unable to find the answer/solution to the issue I'm having.

    I'm building a site for a friend with TwentyTen (http://vallartawebmedia.com/surfing/), and I can't seem to get the collage image to display any larger than it is. The image itself is 850px wide and the max image size is set to 1024 I believe, but the image is still being condensed.

    When I align the image to the right, it's obvious that there is still extra (width) space, but I can't get the image to display any wider.

    Any assistance will be greatly appreciated. Thanks!

  2. Digital Raindrops
    Member
    Posted 1 year ago #

    In the style.css there is a max-width:

    #content img {
    	max-width: 640px;
    }
    #content .attachment img {
    	max-width: 900px;
    }

    Also in functions.php

    if ( ! isset( $content_width ) )
    	$content_width = 640;

    These are set to match the width of the content area, whould will not display your wider image well.

    Your theme width is 960px, with content margins 20px and 240px = 260px.

    960 - 260 = 680px, so you could try changing the two 640 vales to 680.

    the standard content margins 20 and 280

    HTH

    David

Topic Closed

This topic has been closed to new replies.

About this Topic