Magento 2.3.3. error image pages are not coalesced

Some images are missing in products, and I have tried running bin/magento catalog:images:resize like this: php -d memory_limit=-1 -d max_execution_time=86400 bin/magento catalog:images:resize after some time command returned this error: 3241/5308 [=================>———-] 61% 16 mins 52.0 MiB | /import/media/catalog/product/4/t/4tu60ear_.jpgimage pages are not coalesced `/usr/www/users/xxxxx/pub/media/catalog/product/import/media/catalog/product/4/t/4tu60ear_1.png’ @ error/layer.c/OptimizeLayerFrames/1027 I have checked and files exist in their locations and…

Changing number of columns in Woocommerce Shop page in custom theme

I am trying to create a layout with 2 columns, but nothing works. I have added this code to functions.php: add_filter(‘loop_shop_columns’, ‘loop_columns’); if (!function_exists(‘loop_columns’)) { function loop_columns() { return 2; // 2 products per row } } But nothing changes on the front-end; via console I can see this html output: <div class=”columns-3″> <ul class=”products…

How to automatic replace all image ipg/png/jpeg to webp

How to automatic replace all existing tags with element and call the function: example: <img class=”wp-image-183 size-full aligncenter” src=”https://shopcon.vn/wp-content/uploads/2019/03/cui-quickflex-cho-be-1.jpg” alt=”Cui Quickflex Cho Be (1)” width=”600″ height=”600″ /> to <picture><source srcset=”https://shopcon.vn/wp-content/uploads/2019/03/cui-quickflex-cho-be-1.jpg.webp” type=”image/webp” /><img class=”wp-image-183 size-full aligncenter” src=”https://shopcon.vn/wp-content/uploads/2019/03/cui-quickflex-cho-be-1.jpg” alt=”Cui Quickflex Cho Be (1)” width=”600″ height=”600″ /></picture> My website have 500 products with thousands images. I can not…