How can we help?

If you are looking for support for our PokaTheme, this is the place!

Home Forums Poka Review Plugin support Logo/Image Not Cropping/Scaling To Correct Size – How Can We Fix This?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #14513
    Chris C
    Participant

    We are going to be using this plugin as a product review plugin…however…when we upload images to use in the review field…where the logo goes…the images are not being cropped and or scaled to fit and display correctly. As you can see in the example image attached…how can we make it so when we upload an image to the review…that it displays properly and shows the entire product…not a cropped version?

    Image Issue

    Thank you!

    #14536
    Chris C
    Participant

    Can we get a little help on this issue please? Thank you!

    #14559
    admin
    Keymaster

    Hi Chris,

    Sorry for the late reply, indeed the thumb is cropped to this size: 293px x 90px
    You need to overwrite this specific thumb size to your own size.

    In your child theme you can do the following:

    function child_theme_setup() {
        add_image_size( 'poka-review-thumb', 400, 300, true );
    }
    add_action( 'after_setup_theme', 'child_theme_setup', 11 );
    
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.