Forums

Images in posts automatically upscaled. Why? (8 posts)

  1. LarsMigrant
    Member
    Posted 2 years ago #

    Hi!

    My wordpress blog, http://larsmigrant.com is using a modified version of the Mandigo theme. I've just realized that the images I post are upscaled (presumably by WordPress) from their actual dimensions.

    I use Photoshop to downsize all horizontal photos to 640 px width, while vertical photos are downsized to 700 px height. However, checking today, I see that horizontal photos are displayed in 757 px width, while the verticals are displayed in 858 px height. In other words, some setting in WordPress seems to be causing these images to be stretched beyond their actual dimensions, and it doesn't look too good.

    I'm not sure if it's always been like this (the blog was opened in May of 2009), but I don't think so, I think they used to be displayed in their actual dimensions.

    I don't use any kind of gallery software to display them, I upload them to a folder on my server, and code them into the posts using plain HTML, without any sort of modifications that would cause the upsizing.

    I'm not a particularly experienced WordPress user, so I don't know what other information might be relevant to figure this out. Just let me know what's needed, and I'll look it up.

  2. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    Admin/Media. Check that "Crop to exact size" is unticked. If this option was ticked previously, then consider running Regenerate Thumbnails to fix your previously uploaded images.

  3. LarsMigrant
    Member
    Posted 2 years ago #

    I tried that, but since I don't use any kind of software in WordPress to process the images, no thumbnails are generated. I did untick the box, and tried running Regenerate, but it couldn't find anything to process.

  4. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    I can't find any images that have been stretched - either horizontally or vertically but I did find a couple that were re-scaled to 618px in width. You might want to try adding:
    $GLOBALS['content_width'] = 640;

    to the top of your theme's functions.php file (just after the opening <?php.

  5. LarsMigrant
    Member
    Posted 2 years ago #

    After your last comment, I tried checking the site out in IE (I usually use Firefox), and apparently, it shows up fine there. So it would appear that Firefox is to blame here, not a setting in WordPress. Still, if it shows up like this in some (or all?) Firefox installations, I'd like to fix it. Any idea what could be causing it, or should I take the question to Firefox support instead?

    I use Windows 7, and Firefox 3.6, if that could make a difference.

  6. alchymyth
    The Sweeper
    Posted 2 years ago #

    firefox3.5.8 (pc/vista) seems to show the images properly - the dimensions are all as they should be.
    how did you actually measure the image dimension in your firefox?
    you seem to know them very accurately.

    are you sure that your browser zoom is reset to normal?

  7. LarsMigrant
    Member
    Posted 2 years ago #

    I got a screenshot, then measured the pictures in Photoshop. Also, if I click on a given picture and drag it (it's URL in other words) into the URL field in Firefox, the picture that comes up will then be correctly sized. In other words, when I direct Firefox at the source image URL itself, rather than the picture as a part of the wordpress page, it shows up correctly.

    I've never used browser zoom (weren't even aware that it existed), but I've checked it now, and that's not the problem.

  8. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    firefox3.5.8 (pc/vista) seems to show the images properly

    Ditto on XP.

Topic Closed

This topic has been closed to new replies.

About this Topic