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 5 posts - 1 through 5 (of 5 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 );
    
    #14957
    spieletester
    Participant

    Hello,

    this doesnt works for Poka Theme and with the Plugin also not on other themes. How to show a correct size for Logos are higher then 90px.

    function poka_child_theme_setup() {
    add_image_size( ‘poka-review-thumb’, 300, 300, true );
    }
    add_action( ‘after_setup_theme’, ‘poka_child_theme_setup’, 100 );

    function poka_child_theme_setup() {
    add_image_size( ‘poka-review-thumb’, 300, 300, true );
    }
    add_action( ‘after_setup_theme’, ‘poka_child_theme_setup’, 100 );`

    Thanks
    Chris

    #14964
    admin
    Keymaster

    Hi Chris,

    The above is for this specific thumb size “poka-review-thumb” and this thumb size exist only in Poka Review Plugin.
    Each theme/plugin has each own thumb sizes and in order to change any of them first you need to find the name.

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