Support » Plugin: WP Review » Non squared thumbnail image

  • Resolved tuttopia

    (@tuttopia)



    Is possible to use a no-squared image thumbnail on widget?
    Thanx

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @tuttopia,

    You can use css border-radius to make them non-squared

    Sorry I did not explain myself well …
    It’s not about having rounded corners, but that the proportions of the image are not square … I want to use it for movies and its posters are not 2×2 but 3.5X2 ….

    Is that possible?
    Thank you

    Plugin Support Suraj Vibhute

    (@suraj78)

    Hello,
    Yes, that is possible,

    You need to add a filter in your theme’s functions.php file

    add_action( 'init', 'tuttopia_wp_review_thumb_size', 11 );
    function tuttopia_wp_review_thumb_size() {
        add_image_size( 'wp_review_small', 60, 55, true );
        add_image_size( 'wp_review_large', 360, 212, true );
    }

    You can change the sizes as per your requirements.

    Please make sure to regenerate thumbnails using OTF Regenerate Thumbnails or Force Regenerate Thumbnails plugin.

    Hope this helps, Thank you.

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