Okay
  Public Ticket #1323433
Featured Blog Image problem
Closed

Comments

  •  3
    swedenaskari started the conversation

    The featured image on blog post get automatically cropped. Why is that? is it possible to not have it cropped and just leave the image as it is?
    - Please watch this article: https://www.askarifighter.com/sv/fight-video-glory-42-paris/
    You can see that it got cropped and the "GLORY" logo is showing in half

  •  1,560
    Laborator replied

    Hi there,

    There are two methods to do this:

    Method 1.  To change that go to Laborator > Theme Options > Blog Settings and in the Thumbnail Height section change at what height you want the images to be cropped, then regenerate the thumbnails.

    Method 2. Add the following code to your themes functions.php file to load the original image size.

    function lab_blog_single_image_size_original( $size ) {
        return 'original';
    }
    add_filter( 'lab_blog_single_image_size', 'lab_blog_single_image_size_original', 100 );

    Best regards,
    Laborator Team


      Documentation         Join Kalium Users Group

  •  3
    swedenaskari replied

    Thank you! The code for functions.php worked fine =)


    (just needed to correct the spelling on the first word)


    Thanks you for the great support!

  •  1,560
    Laborator replied

    Ahh, it seems I've missed the f character, have a great day

    Best regards,
    Laborator Team


      Documentation         Join Kalium Users Group