-
AuthorPosts
-
April 30, 2019 at 1:37 pm #1095751
Hi,
Thanks for the update.
The product thumbnails are resized to the specified dimension, 360x540px. (see private field)
You may need to decrease the number of columns in the product page and increase the maximum width container of the site if you want the exact size of the product images to display in the shop page.
Best regards,
IsmaelMay 2, 2019 at 3:11 pm #1096493Hi,
sorry, there is no content in the private field.
And sorry again, this makes no sense at all. The resize to 360×540 is wrong, because we increased the number of columns from 3 to 4. As a result the pics must be resized to 200×300. How can we achieve that, simply? That is what is all about since a couple of weeks now!
best regards,
JoergMay 5, 2019 at 8:59 pm #1097497Hi,
Thanks for the update.
That thumbnail size is not available in your installation. Please look at the size of these images.
// https://test.brandgeister.de/wp-content/uploads/2019/01/Glen-Els-Port-Casks-Bild-360×540.jpg
// https://test.brandgeister.de/wp-content/uploads/2019/01/Glen-Els-Rum-Agricole-Casks-Bild-360×540.jpg
// https://test.brandgeister.de/wp-content/uploads/2018/11/finch-rye-edition-bild-360×540.jpgThey are all 360x540px. Could you check if there is a thumbnail in the uploads directory that is 200px in width?
You may also need to add this filter in the functions.php file to remove the srcset attribute.
add_filter( 'wp_calculate_image_srcset', 'av_disable_srcset' ); function av_disable_srcset( $sources ) { return false; }
Please open your own ticket so that you can see the content of the private field. We’ll close this thread for now. Don’t forget to include it on your own thread for reference.
Best regards,
IsmaelMay 6, 2019 at 2:42 pm #1097696Hi,
you mean the child theme functions.php? Done, but no effect.
Of course they all are this size, it is the woocommerce and /or Enfold default. And I would be extremely lucky if there was any thumbnail of 200 px width.
Why the hell do all efforts to resize them down to what is really needed fail?May 7, 2019 at 5:15 am #1097928Hi,
Please open a new ticket or thread because this one is getting a bit too long. We will continue there.
Did you regenerate the thumbnails after adding the snippet that we provided previously? The theme didn’t generate that thumbnail size as you can see in the following list. It’s a list of thumbnails generated by the theme. As you may notice, 340x540px isn’t one of them.
$avia_config['imgSize']['shop_thumbnail'] = array('width'=>120, 'height'=>120); $avia_config['imgSize']['shop_catalog'] = array('width'=>450, 'height'=>450); $avia_config['imgSize']['shop_single'] = array('width'=>450, 'height'=>999, 'crop' => false); $avia_config['imgSize']['widget'] = array('width'=>36, 'height'=>36); // small preview pics eg sidebar news $avia_config['imgSize']['square'] = array('width'=>180, 'height'=>180); // small image for blogs $avia_config['imgSize']['featured'] = array('width'=>1500, 'height'=>430 ); // images for fullsize pages and fullsize slider $avia_config['imgSize']['featured_large'] = array('width'=>1500, 'height'=>630 ); // images for fullsize pages and fullsize slider $avia_config['imgSize']['extra_large'] = array('width'=>1500, 'height'=>1500 , 'crop' => false); // images for fullscrren slider $avia_config['imgSize']['portfolio'] = array('width'=>495, 'height'=>400 ); // images for portfolio entries (2,3 column) $avia_config['imgSize']['portfolio_small'] = array('width'=>260, 'height'=>185 ); // images for portfolio 4 columns $avia_config['imgSize']['gallery'] = array('width'=>845, 'height'=>684 ); // images for portfolio entries (2,3 column) $avia_config['imgSize']['magazine'] = array('width'=>710, 'height'=>375 ); // images for magazines $avia_config['imgSize']['masonry'] = array('width'=>705, 'height'=>705 , 'crop' => false); // images for fullscreen masonry $avia_config['imgSize']['entry_with_sidebar'] = array('width'=>845, 'height'=>321); // big images for blog and page entries $avia_config['imgSize']['entry_without_sidebar']= array('width'=>1210, 'height'=>423 ); // images for fullsize pages and fullsize slider $avia_config['imgSize'] = apply_filters('avf_modify_thumb_size', $avia_config['imgSize']);
We will close this thread now. Let’s continue in your own thread.
Best regards,
Ismael -
AuthorPosts
- The topic ‘Enfold Shop – Woocommerce Produktbild Größe ändern’ is closed to new replies.