• Resolved R_Hemingway

    (@r_hemingway)


    Hi there,

    I’m uploading a number of featured images W 242px x H 300px.

    I find that in the ‘blog’ view, the images are being stretched and are therefore the resolution is not as good.

    Is there a css property I can change to stop this?

    Did try adding “set_post_thumbnail_size( 242, 300 );” to the functions.php but no luck!

    Thanks in advance.

    Rich

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hey, Rich!

    Are you using HTML like the following example (especially the width and height parameters)?

    <img src=”/wp-content/uploads/2014/09/Bat.jpg” alt=”Bat” width=”776″ height=”582″ />

    Thread Starter R_Hemingway

    (@r_hemingway)

    Hi Augustin,

    Thanks for the message!

    I’m just setting the featured image via the option in WordPress.

    If you follow the link below, you’ll see the stretched images in the blog feed:

    https://217.199.187.192/conti-bike.co.uk/category/tyres/hypersport/

    If you then click on the read more link to any of the subsequent pages, you will see the image in it’s original size.

    Hope this helps.

    Rich

    Theme Author Kaira

    (@kaira)

    Hi Rich

    The blog image cuts are W 580px by H 380px. You need to upload the images at a larger size than that otherwise WordPress uses the full image and the theme stretches it to fit.

    Hope that helps

    Thanks

    Thread Starter R_Hemingway

    (@r_hemingway)

    Great, thank you!

    Is there a way to make the featured image in the blog post list a standard smaller size via css? It is also stretching the the image for me and i do not want to make and upload the image larger in the original post.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Sizing featured images’ is closed to new replies.