Archived topic
Big images on WooCommerce page
3 replies · Started by MaksymPS on September 24, 2016
Hello!
Please help me to fix next problem.
I have a website with Woo: http://vetlikar.com/shop
The problem is images there very huge!
http://piccy.info/view3/10317509/4dd2ff449c6cd10052d0c32f7ed6694e/
But when I log in as admin, everything displays perfect, as I want! But only I can see it as it has to be. Other people, who came to the site, see it with huge images.
http://piccy.info/view3/10317514/d2d42e9e67ad5acef95d6390291290ed/
There is no CSS about image sizes, no php code in functions.php.
There is only one setting that I changed:
http://piccy.info/view3/10317520/4c616cd4de0dfd7afaec56165b89a3e5/
But it doesn't work (but 20 pages per page - works, weird).
I tried to use Force Regenerate Thumbnails plugin, entered next settings:
http://piccy.info/view3/10317547/b4b94200b19b69fe3bd35b0644abb39a/
these settings are located in WooCommerce > Settings > Products > Display
But it didn't help as well.
Could you help with this issue, please?
I would be very grateful!
I tried next but it didn't help...
.woocommerce div.product div.images img { width: auto; }
and
add_filter('loop_shop_columns', 'loop_columns');
if (!function_exists('loop_columns')) {
function loop_columns() {
return 4;
}
}
:(
Maybe the problem is here?
### Server Environment ###
Server Info: Apache
PHP Version: ❌ 5.4.45 - We recomend a version of PHP 5.6.
This is in WC > System Status
Wow, I couldn't solve this issue more than 2 months.
And finally, I did it!
The problem was in WP-Rocket plugin, in one setting, here:
http://piccy.info/view3/10317799/06bff80d8b07023c1f6108a9d4437b65/
Sorry :)
Maybe it will be helpful to other guys sometime )
Awesome, glad you were able to fix it! Thanks for posting your solution as well :)