If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
I’ve done some research online and found out that this issue might be due to be theme.
I’m using WooCommerce (latest version) and i’d like to know how do i hide the featured image in the single product page.
This is my shop overview page:
see those product pictures?
Now here is my single product page:
See that the first picture shown is actually the picture from the previous Shop Overview page.
I don’t want it to be shown here.
* I’ve checked the box:Enabling this option will hide it from the product page image gallery. However it does not work.
Please help me out here.
On the individual product pages the photo matches the photo of item I clicked on the archive page. The photo comes out cut because you have it set to crop which is a mistake.
What you need to do:
What is the aspect ration (proportion between width and height) of images you are uploading? You need to set the width and height of the image in /config-woocommerce/config.php on line 16 that *has the same aspect ratio as the images you upload. So if original image is 500 widtht 350 height (for example) that means that you need to change line 16 from
$avia_config['imgSize']['shop_single'] = array('width'=>450, 'height'=>355);
to the same aspect ratio as the image you want uploaded. (if you upload 500width 350 height) …
(500/350) = (450/x)
(450*350)/500 = x
So if you are uploading 500width 350 height images, you need to change line 16 to 450width and 315 height to keep same aspect ratio so that image will not get cropped
$avia_config['imgSize']['shop_single'] = array('width'=>450, 'height'=>315);
The topic ‘Hide featured image from the product page image’ is closed to new replies.