Okay
  Public Ticket #999720
Image sizes
Closed

Comments

  •  2
    Nikiforos started the conversation

    Hi, I know that you have set this theme to generate multiple image sizes for the general purposes of their usage but hoa can I disable this feature? I am building a web site for a winery with only 15 products and I need to use only one size for every product, but when uplod an image the theme generates 12 different sizes. what file should I edit to stop extra image sizes? Thanks.

  •  895
    TheFox replied

    Hello Nikiforos,

    First if you really only need 1 size you need to go to 

    Woocommerce > Settings > Products > Display to change the thumbnail size to the one you want to use.

    Then if you are not using the blog or portfolio or any of our modules that use thumbnail you can go edit the "functions.php" of the theme and remove those lines :

    add_image_size ('portfolio_tn', 640 , 400 , true);
    add_image_size ('portfolio_classic', 800 , 380 , true);
    add_image_size ('portfolio_squared', 768 , 768 , true);
    add_image_size ('portfolio_landscape', 768 , 384 , true);
    add_image_size ('portfolio_portrait', 384 , 768 , true);
    add_image_size ('staff_tn', 570 , 570 , true);
    add_image_size ('blog_tn', 1200 , 565 , true);
    add_image_size ('blog_tn_alt', 553 , 400 , true);

    Do not hesitate to contact us if you have more questions.

    Regards.