Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #7111

    Hi guys,

    First, great and very versatile theme, I love it… :)

    But there is one problem, the featured images are streched, and I would like them to be cropped.

    For example: (Purchase code hidden if logged out) -energie/

    That chicken is wider than it should be…

    I know this is the code that is scaling the image:

    $avia_config = array(‘width’=>450, ‘height’=>255); // image for blog posts (big)

    Is there a way to crop this image instead of scale it? Otherwise I have to change the aspect ratio of all the images on my computer and upload them all again…

    grtz & thanks in advance, Bas



    the problem (in this case) is that the image itself (original image – no thumbnail size) is too small. The image: is just 200px x 212 (and the slider width would be 450px by default). WP will only resize images which are bigger than the required image/thumbnail sizes. However WP center crops all images and doesn’t stretch them.


    El Duderiño, thanks for your response, I should have known… :)



    Glad that I could help you :)

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Featured image: cropped instead of streched’ is closed to new replies.