woocommerce kullandığım bi tema var ürün resmi yükleyince thumb olarak otomatik 410x519 oluşturuyo ben bunu 410x429 yapmak istiyorum ama boyutu verdiği yeri bulamadım, functions dosyasında şu vardı burda değiştirdim ama işe yaramadı
resmin gözüktüğü yerde şu şekilde çekiyor: $dimensions['width'] ve $dimensions['height']
function yoome_theme_activation(){
global $pagenow;
if( is_admin() && 'themes.php' == $pagenow && isset($_GET['activated']) )
{
if( get_option( 'woocommerce_single_image_width' ) === false ){
/* Single Image */
update_option('woocommerce_single_image_width', 940);
/* Thumbnail Image */
update_option('woocommerce_thumbnail_image_width', 410);
update_option('woocommerce_thumbnail_cropping', 'custom');
update_option('woocommerce_thumbnail_cropping_custom_width', 410);
update_option('woocommerce_thumbnail_cropping_custom_height', 429);
}
if( get_option( 'yith_woocompare_image_size' ) === false ){
update_option( 'yith_woocompare_image_size', array( 'width' => '410', 'height' => '429', 'crop' => 1 ) );
}
}
}