• I’ve been playing with the new wordpress 2.5. Overall great improvement. I have one nagging issue though: when I upload a photo with the new media gallery it is automatically downsized to 500 pixels width. There’s a full size option there but it appears wordpress interprets that as the downsized version.

    Basically I don’t want wordpress to ever resize photos for me. My theme is flexible enough to nicely handle photos that don’t fit in the column (flexible layout of course). Generally, I resize to a suitable size (in bytes rather than pixels) before uploading, typically that is way more than 500 pixels for me since that just looks tiny on a modern screen.

    Is this possible or do I need to upload manually to work around this bug (not a feature IMHO)?

Viewing 9 replies - 1 through 9 (of 9 total)
  • I have the same problem and I would be pleased if there was a solution for it..

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    Add this to your theme’s functions.php file:

    $GLOBALS['content_width'] = 500;

    Change “500” to the maximum width you want an image to display on your page at. The idea here is to prevent the image from messing up the theme display by being too wide.

    Thread Starter jillesvangurp

    (@jillesvangurp)

    Nice as a workaround but the same could be achieved by changing the css width. Image resize should always be optional. For photos it is not so visible but e.g. screenshots really suffer from resizing.

    I think this should be considered a bug and not a feature.

    Definitely a bug – should be fixed in future versions.

    I’m having the same problem and it’s driving me nuts. Unfortunately, my theme doesn’t have a functions.php file. How else could I stop WordPress from resizing all the screenshots, etc. that I carefully made 600px wide?

    Replying to my own comment: Just because my theme doesn’t have a functions.php file doesn’t mean I can’t add one. Problem solved.

    why is wordpress resizing images at all???

    you can’t just change the width without changing the height as well…

    No matter what I do, all the solutions I’ve tried have not worked, I still end up with squished images. Awesome.

    Working…ty Otto.

    Now I have 2.6.2 and still must change functions.php file, not fixed yet.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘option to disable image resizing?’ is closed to new replies.