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

    Hi there, advance apologies if this is screamingly obvious;

    We are using the Elegant layout for our Blog/News posts – single post with big preview image
    But I want to have a square featured image for the post and a larger square image for the single post detail.
    If I upload a square image for the post, the single post shows a cropped landscape (letterbox style) image. Is there a way to get both to show the same instead of cropping the original image?

    #705158

    Hey craigriches,

    Could you post a link to the site in question so that we can take a closer look please?

    Best regards,
    Rikard

    #705373

    Rikard
    you may get a server error as this site is on a development environment, but i have posted it in Private Content anyway. The post in News has a square image for instance, but when you view the single post it is cropped to a letterbox size and you only see the square image if you click on the image to enlarge.

    • This reply was modified 8 years, 1 month ago by craigriches.
    #705391

    Hey!

    Please use the following function, if it works for you or the plugin listed

    add_filter( 'avf_modify_thumb_size', 'enfold_customization_modify_thumb_size', 10, 1 );
    function enfold_customization_modify_thumb_size( $size ) {
    $size['entry_with_sidebar'] = array('width'=>1210, 'height'=>560);
    return $size;
    }

    then regenerate thumbnails – https://wordpress.org/plugins/regenerate-thumbnails/

    or use the plugin
    https://wordpress.org/plugins/simple-image-sizes

    Regards,
    Basilis

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.