Forums

[resolved] Image upload sizing trouble (7 posts)

  1. lizzyb
    Member
    Posted 1 year ago #

    The images I have for my site are all different sizes (I know I could resize outside of WP but others will also upload and dont want to have to do this).

    I thought that I could go into media settings and set my Thumbnail, medium and large. Then be able to upload images of varying larger sizes and have them all be made the same size by the settings.

    For example
    Thumbnail 150x150
    Medium 300x300
    Large 940x940

    Uploading full sizes of 3000x2000, 1024x1000 should still result in the smaller sizes of the right dimensions I specified.

    However this is not happening - my settings seem to be disregarded and I get varying sized 'large' files.

    Please help!

  2. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Admin/Settings/Media. Tick "Crop thumbnail to exact dimensions".

  3. lizzyb
    Member
    Posted 1 year ago #

    Thanks esmi - but i do have that ticked already.

    I have noticed though that its cropping my large images to a max width of 640 (even though ive asked for 940).

    Is this because Im using 2010 thame and its clever enough to realise the post width (to allow for a sidebar) is 640px?

  4. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Is this because Im using 2010 thame and its clever enough to realise the post width (to allow for a sidebar) is 640px?

    Yes. Line 47 in functions.php in TwentyTen:

    if ( ! isset( $content_width ) )
        $content_width = 640;
  5. lizzyb
    Member
    Posted 1 year ago #

    Thanks so much esmi :o)

    I guess if you're a frequent theme swapper like me you have to reupload the images to get the right size!

  6. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

  7. lizzyb
    Member
    Posted 1 year ago #

    oh wow - great!

    Thank you!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags