WordPress.org

Forums

[resolved] Problem with image sizing on home page (6 posts)

  1. TomOggy
    Member
    Posted 3 years ago #

    hello,

    i'm having trouble using an image in one of my posts. the image is too big and doesn't fit within the image area.

    i've tried everything in terms of editing the actual image (resizing within wordpress, resizing on external software, pasting the url etc). but no matter what i do the image always looks the same. i get the impression that this problem has something to do with the way my theme has been coded?

    i think the best solution may be to just delete this 'default' image area within the theme. however im an absoloute beginner when it comes to dealing with coding, html etc. could anyone out there please help me out?

    here's the link to my website if you can take the time to have a look: http://premiershipfantasyscout.co.uk/

  2. Pioneer Web Design
    Member
    Posted 3 years ago #

    Please review this on timthumb, check your site with this plugin, and update all your plugins and theme.

  3. TomOggy
    Member
    Posted 3 years ago #

    thanks a lot swanson.

    i have now installed the timthumb scanner plugin and it looks to have updated my old version of timthumb.

    could you please tell me what steps i need to take now to actually resize the image? is there a line of code somewhere that i should be altering?

  4. Pioneer Web Design
    Member
    Posted 3 years ago #

    When you use the Gallery to upload images, the image is uploaded and then (3) thumbnails are created.

    Admin screen>Left bar>Settings>Media> set the Thumbnail, medium, and large sizes here - this does not change what files have already been uploaded and thumbs made, but will change the thumbnail size for current imports to the gallery.

    For existing files prior to this change, you can remove the media and re-add to Gallery or use FTP to review your media folder, you will see these files...

    So, what can we do?

    Upload to the WP Gallery folder a new file with the exact same name as the thumb you want replaced (that is actually a different size),(rename existing file first in FTP, then upload)

  5. Pioneer Web Design
    Member
    Posted 3 years ago #

    Oh, and if you are using the featured image feature, remove the existing featured image file from the post(s), then re-add after altering the settings and after re-uploading the file...I believe it at that point when you add a featured image that WP decides how big the div area for the image should be so it can be wrapped properly with text.

  6. TomOggy
    Member
    Posted 3 years ago #

    thanks again swanson.

    pleased to say the problem looks to be resolved.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.