-
AuthorPosts
-
April 21, 2023 at 3:38 am #1405118
Hi
If you go to my store front on https://madaboutmara.com/purchase/ you will see that there are two images that are cropped 1:1 whilst all the otehrs are displayed in the format I uploaded them in
The two images that are not showing correctly are two new products I added yesterday. It’s been quite a long time since I added new products to the shop
If I edit an old product and re-add the same display image that is currently there, it also becomes square.
My Woocommerce settings in APPEARANCE…CUSTOMISE…WOOCOMMERCE…PRODUCT IMAGES has “Images will display using the aspect ratio in which they were uploaded” set as the default, as it has always been
Can you see any reason why new images are being cropped by Woocommerce 1:1 instead of leaving them in the aspect ratio they are uploaded in ?
Thank you in advanceIvan
April 21, 2023 at 6:28 am #1405131Hi. Just a bit of additional info, when I go to
My Woocommerce settings in APPEARANCE…CUSTOMISE…WOOCOMMERCE…PRODUCT IMAGES as I have stated above me setting is :
– “Images will display using the aspect ratio in which they were uploaded” set as the default, as it has always been
When I select the other 2 options (1:1 or a customised aspect ratio) the preview page displayed to the right does not change
- This reply was modified 1 year, 7 months ago by ivanglaser.
April 22, 2023 at 7:49 pm #1405249Hi,
Thank you for your patience and the link to your page, but I don’t see any square images on the page they all look to be landscape.
Can you tell us which images you mean or include a screenshot to point out the issue.Best regards,
MikeApril 24, 2023 at 5:28 am #1405331Hi
https://app.box.com/s/n4cx0mjl2lrfnq8rjkwz3xq3kqdocq70
Do you not see what I see ?
Cheers
Ivan
- This reply was modified 1 year, 7 months ago by ivanglaser.
April 24, 2023 at 10:22 am #1405342Hi,
Thank you for the screenshot.
You may need to add this filter in the functions.php file to correct the aspect ratio of the product images.
add_filter( 'avf_wc_before_shop_loop_item_title_img_size', 'avf_wc_before_shop_loop_item_title_img_size_mod', 10, 1 ); function avf_wc_before_shop_loop_item_title_img_size_mod( $thumbnail_size ) { return 'woocommerce_thumbnail'; }
Best regards,
IsmaelApril 24, 2023 at 2:36 pm #1405388Thank you Ismael. That worked !
Cheers
April 25, 2023 at 1:13 am #1405459Hi,
Glad Ismael could help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
Mike -
AuthorPosts
- The topic ‘Woocommerce image issues’ is closed to new replies.