• Resolved kvotsapp

    (@kvotsapp)


    hi, i am using your plugin & it works great.
    but i am facing problems on Single Product Page with vertical images.
    i have product images which resolution are typically like this;
    width = 600px
    height = 3000px

    your plugin is doing excellent job for creating thumb image (300px X 300px)
    can we create another image (600px X 600px) for Single Product Page?

    if so that would be wonderfull.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter kvotsapp

    (@kvotsapp)

    1.0.8

    Skip woocommerce_single resize

    i just want to enable woocommerce_single resize

    Plugin Author Nabil Lemsieh

    (@nlemsieh)

    Hello,

    Thank you for your feedback.

    You can add the filter below to functions.php to set a custom height and width, so you can get the size 600×600:

    add_filter('woocommerce_get_image_size_single', function($size){
        $size['height'] = 600;
        $size['width'] = 600;
        return $size;
    });

    Note: You will have to regenerate thumbnails after that.

    • This reply was modified 5 years, 5 months ago by Nabil Lemsieh.
    Thread Starter kvotsapp

    (@kvotsapp)

    thank you so much.
    problem solved.

    Thread Starter kvotsapp

    (@kvotsapp)

    rated 5 star. ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Single Product Page’ is closed to new replies.