Hi I have an urgent question: I have just updated to Woccomerce 3.0 my shop and I found these problems:
1) main product image in single product page appears blurry
2) the default product gallery doesn’t appear anymore as thumbnails but as big images all blurry
3) when selecting variables, the variable image is no more loaded instead of the product main image, as it did before.
I use default product layout (i.e. I DON’T use advanced avia layout builder). The only thing I did was to add some hooks in functions.php to arrange wc meta data in a different order from the default one.
I tried to regenerate thumbnails but nothing changed
I am going to give you the private access to my shop so that you can give a look. It is very urgent. Thank
Hi we can’t fix this problem at this url http://www.massignani.it .
Whenever we click on the portfolio item thumbnail we get error 404.
http://www.massignani.it/seramenti-in-alluminio/
Can you help us in fixing it?
Thanks
Riccardo
I have set my blog thumbnails to Portfolio Small (260px x 185px) and made sure all my images are larger than 260px x 185px but they are still a little blurry. I went an regenerated all my thumbnails and no luck. This is the size I want them what can I do?
I tried using the Simple Image Sizes plugin, but it doesn’t seem to be cropping the images to the size set – just squishing them.
-
This reply was modified 9 years ago by
Briana.
Ok, after investigating the problem, I have learned that Woocommerce was using the product thumbnail (120×120) in place of the single product image. So, this may or may not be related to the theme. I increased the size of the product thumbnail and that solution seems ok for me.
I’ve got these errors cropping up on one of my pages – I’m not sure where to start looking for the problem – can you help?
Warning: Missing argument 3 for avia_woocommerce_gallery_thumbnail_description() in /home/north474/public_html/oddotterbrewing.com/wp-content/themes/enfold/config-woocommerce/config.php on line 1360
Warning: Missing argument 4 for avia_woocommerce_gallery_thumbnail_description() in /home/north474/public_html/oddotterbrewing.com/wp-content/themes/enfold/config-woocommerce/config.php on line 1360
It looks like I’m getting this error on every product in the store.
Hi,
Please see the following thread. You may have to make the update and then regenerate the thumbnails:
https://kriesi.at/support/topic/entry_with_sidebar-dimensions-wont-take/
Best regards,
Jordan Shannon
I meant for the pictures for all my products, I have the same error message
Warning: Missing argument 3 for avia_woocommerce_gallery_thumbnail_description() in /home3/patricedion2/public_html/rvandbee.com/wp-content/themes/enfold/config-woocommerce/config.php on line 1360
Warning: Missing argument 4 for avia_woocommerce_gallery_thumbnail_description() in /home3/patricedion2/public_html/rvandbee.com/wp-content/themes/enfold/config-woocommerce/config.php on line 1360
Hello,
On the single product pages of our Woocommerce catalog, I cannot adjust the image sizes. The settings in Woocommerce for image size seem to be overridden by the theme. No change in settings results in a change of appearance.
I have tried every conceivable setting for image size and crop, and yes, of course I regenerate thumbnails between every size adjustment. And yes, of course I have tried to clear browser cache to see if that was the problem. And no, it is not a problem with image quality.
This happened as a result of updates, and has caused the single product images to appear very blurry and much of them are cut-off.
Is there any CSS I can try to fix this?
Hi, I wondered if you could help me with a problem I’m having with full width portfolio grids.
I want to have a completely white background including the categories menu. My main site colour is a dark grey and where there are gaps in the thumbnails text when the browser window is re-sized you can see through it and see the dark grey in places.
see this near bottom of page http://fullrotation.com then resize the window width
I’ve styled and colored the title background text colours etc no problem with this code
.grid-entry .main_color .avia-arrow, .main_color .grid-content { background-color: white!important; color: white!important; }
.main_color .grid-entry-title { background-color: white!important; color: #3f3f3f!important; }
.grid-entry .inner-entry { box-shadow: none!important; }
…. but I need the whole portfolio grid background to be white
please see this image to help explain 
Now, one fix would be to put it in a full width color section with background set to white. I tried this and creates two problems
1) The categories menu is now not centered, it stuck to the left of screen
2) the color behind the categories text is still dark grey.. I used this to change it to white
#js_sort_items a {
background: none repeat scroll 0 0 white !important;
}*/
But it then left little dark grey squares in between each title
SO there must be a way of doing it without putting in a color section and I’m just not getting it
Many thanks
Hi all,
my product slider changes its height on mobile devices when sliding to thumbnails with sizes.
How can I set it to a fixed height?
Thank you in advance!
Philipp
Rikard, Good morning.
I just did a test and it looks like it’s just the media library image preview of the PDF.
I’ve put a link to the test page below. The page has a JPG thumbnail image of the PDF with a link and a button. They both open the PDF and it looks correct. But if you preview the PDF image when uploaded to the media library it looks like the original image I attached. Thanks for your help, Gary
Hello
I’m working on this page:
It says:
Warning: Missing argument 3 for avia_woocommerce_gallery_thumbnail_description() in /home4/bodytalk/public_html/wp-content/themes/enfold/config-woocommerce/config.php on line 1360
Warning: Missing argument 4 for avia_woocommerce_gallery_thumbnail_description() in /home4/bodytalk/public_html/wp-content/themes/enfold/config-woocommerce/config.php on line 1360
Can I get support to fix this please?
Thank you Enfold team
I hope – but I just go to the ../config-woocommerce/config.php and killed the avia_woocommerce_gallery_thumbnail_description image description (who needs this?) on line 1356:
/*
if(!function_exists('avia_woocommerce_gallery_thumbnail_description'))
{ add_filter('woocommerce_single_product_image_thumbnail_html','avia_woocommerce_gallery_thumbnail_description', 10, 4);
function avia_woocommerce_gallery_thumbnail_description($img, $attachment_id, $post_id, $image_class )
...
}
*/
And i installe Woothumbs. no i have a really cool gallery! My cleint like!
-
This reply was modified 9 years ago by
Raphael.
The formerly used catalog image is hardcroped by default. The single product image used now has fixed width and variable height. You could of course change that in woocommerce settings and afterwards regenerate the thumbnails. You could also modify the product-image.php contained in my enhanced fix and change the shop_single (default thumbnail in woo 3) to any other predefined thumbnail size. My advice is to wait until we know which way Enfold will chose to avoid additional work.
Hi,
I would like my page to look like http://kriesi.at/themes/enfold/blog/blog-single-author-big/
and later, when we have more posts, I may change to: http://kriesi.at/themes/enfold/blog/blog-grid/
I have tried to chose these, both at the Enfold settings level and at the page level using Advanced Editor, but without effect.
Currently my site is displaying “single author small” (http://kriesi.at/themes/enfold/blog/blog-single-small/) and I would like that if only it didn’t force the thumbnail images to be square because they crop my pictures too much. Is there a way to have this layout but specify a change to the image size? Or aspect ratio?
Thanks for the fix!
The ratio between the height and width of the thumbnails, in the gallery, were at 1/1. Is there a way we can keep the cropping function?
Again, thanks for the help!
Hi Vinay,
thank you for answer- i used this code before but i dont want to remove the title on the code
<img class="avia_image " src="…………./joe-makroenchen-hamburg-macarons-tasse-decoration.jpg" alt="" title=”joe-makroenchen-hamburg-macarons-tasse-decoration” itemprop=”thumbnailUrl” />
and when i use the snippet it looks like this

the title is complitly remove
but i need the title in the code for seo- is there another solution?
thank you
Thank you very much, Mike, it works, but… there’s a problem… I’m making more han one of my customer buy “enfold theme”, because I want to find a sort of “standard configuration”, but I can’t find it, I find some problem with this.
In the example your code works, but I have another website, with the exactly same configuration (it changes only the ID page).
I tried to use that code in the other side, and this is the result:

The website is http://www.ricevimentodafavola.it
How is it possible?
At the actual moment, to get closer to my goal, i added another css row, called “#top.page.page-id-4084 .fullsize .template-blog .blog-meta ” (that I found i one of my many attempts of finding the right code).
The result is similar, but the thumbnails are not square like I wish. That’s wouldn’t be a big problem, except that I can’t work with Enfold if I can’t understand the logic behind this css code.
My question is, how is it possible that the same identical configuration works different with the same css code? What I am doing wrong? What I can’t understand?
Can you tell me where I am wrong in the second site, what’s the difference in the configuration between tha 2 sites, and what is the right CSS code that I can use in ANY website with enfold theme (except naturally changing the page ID) ?
If you wish you can login to both sites with the same ID and password that you already have.
Thank you very much and sorry for my bad english
Thank you for the answer, but that doesn’t work at all.
Now the original website is visible, so I created a test installation.. The id page is 21 too, but…. I applied your code, and this is the result:
I already tried to put the code also in the custom.css file, but nothing changed.
You can access to this test space by visiting http://www.agenda161.com/test/wp-admin/
and entering with the same credentials I’ve already sent you in the previews post.
Can you help me to reach that thumbnails look that i asked in the first post?
Thank you very much
Hi ENBertussi,
Normally for related products shops show a thumbnail, title and price, not all the info that you want to show in those narrow spaces. You really need to reconsider the page architecture and how it would look on mobile.
Best regards,
Victoria
Hi @mike I believe it’s not a configuration problem, because when I enable the enfold theme and look at the apache error file, I can see some errors related to functions from the theme… for instance:
PHP Warning: Missing argument 4 for avia_woocommerce_gallery_thumbnail_description()
I just bought the enfold theme and it seems to have a problem with the image on single product pages, it’s all blurry. I saw some “fix” for this problem here, but I just want to know if the developers are gonna fix it. When I switch back to my old theme, it’s perfect, but when I’m using enfold, there’s this annoying bug. I tried to regenerate thumbnails (3000 images), spent almost one day to finish it and the problem remains. When you buy something, it’s supposed that it works fine, but it’s not happening. Sorry if I post it in the wrong place, but I can’t find any contact to talk directly to the developers. Thank you in advance.
Hi,
This post discuses removing the entire set of image sizes from the functions.php
https://kriesi.at/support/topic/how-to-disable-enfold-creating-media-image-sizes/#post-305466
Yet perhaps using a plugin would be better: https://wordpress.org/plugins/thumbnail-cleaner/
Best regards,
Mike
When I upload an image to the media gallery. It appears to generate anywhere from 4-18 thumbnails. That is quite ridiculous and a massive waste since I don’t use any but maybe 2 versions. Is this enfold’s doing? How do I stop all the thumbnail generations? Now I have literally tens of thousands of copies of images wasting away.
-
This topic was modified 9 years ago by
dethfire.
Hi Dandelion222,
It’s not the theme, that generates thumbs, it’s WordPress, it only uses settings from the theme if there such settings there. If you don’t like the cropped thumb and don’t want to control it by any means, you have to prepare images that would crop appropriately. Media settings are actually in WordPress, you can play around with them. Also here is an overview of plugins to complement and have more control over thumbs generation.
If you need further assistance please let us know.
Best regards,
Victoria
Hello everybody
I’m having an issue with woocommerce products.
After upgrading Enfold to latest version 4.0.3 and woocommerce to 3.0.1
When I go to the products page I see big fonts and an error inside the products cards:
Warning: Missing argument 3 for avia_woocommerce_gallery_thumbnail_description() in /wp-content/themes/enfold/config-woocommerce/config.php on line 1360 Warning: Missing argument 4 for avia_woocommerce_gallery_thumbnail_description() in /wp-content/themes/enfold/config-woocommerce/config.php on line 1360
Could you please have a look at it?
http://www.heart-of-italy.com/testshop
I look forward to your kind reply,
Mauro
The following solution removes Enfolds custom functions for the image display of products and variations to restore the new image display starting from WooCommerce 3.0.0 including the new zoom feature and the WooCommerce native lightbox.
- Use only with WooCommerce Version 3.x.x
- Use only with Enfold version 4 to 4.0.5
If you just want to fix the basic image issue please stick with my first solution.
If you are curious and want to use the new zoom and lightbox feature from woocommerce continue reading.
—————————————————————————–
If you do NOT have a Child Theme
1. Download https://mensmaximus.de/dokumente/enfold/enfold-child-wc3.zip
2. Login to wordpress and select Appearance -> Themes in the admin menu
3. Click on ‘add new’ (top left of the theme page)
4. Click on ‘upload theme’ (top left of the theme page)
5. Click on the file select button and choose the enfold-child.zip file from step 1
6. Click on ‘Install now’
7. Activate the Enfold Child Theme after the installation has finished
8. Follow the instructions from http://kriesi.at/documentation/enfold/using-a-child-theme/
9. You are done. Have fun with the new features
—————————————————————————–
If you already have a Child Theme
1. Copy the following code block to the functions.php file of your child theme
/*
Woocommerce 3.0.0 Compatibility Fix
Remove Enfold's custom functions that conflict with the new image display in WooCommerce 3.0.0
*/
global $woocommerce;
if( version_compare( $woocommerce->version, '3.0.0', ">=" ) ) {
add_theme_support( 'wc-product-gallery-zoom' );
add_theme_support( 'wc-product-gallery-lightbox' );
function avia_woocommerce_gallery_thumbnail_description($img, $attachment_id, $post_id, $image_class ) {
return $img;
}
function avia_woocommerce_post_thumbnail_description($img, $post_id){
return $img;
}
}
2. Copy the following code block to the style.css file of your child theme
.woocommerce-product-gallery__trigger{
position: absolute !important;
top: 1em;
left: 1em;
z-index: 99;
}
3. Download https://mensmaximus.de/dokumente/enfold/enfold-child-wc3.zip and unpack the file
4. Connect to your hosting account via ftp and navigate to your child themes directory
5. If the child theme directory does not contain a directory called woocommerce you can simply copy the woocommerce directory from my child theme (step 3) to your child themes directory. Otherwise you need to check whether the woocommerce directory in your child theme contains a directory named ‘single-product’. If not you can copy the ‘single-product’ directory contained in the ‘woocommerce’ directory from my child theme (step 3) to your child themes ‘woocommerce directory’. If you already have a directory called ‘single-product’ you have to check wether the files contained in my child theme exist in your child theme. If not copy theme. If they do you need to merge the modifications (Hint: search for ‘noLightbox noHover’ and most likely you will know what to do).
6. You are done. Have fun with the new features
@ncbrorg My solutions activates/restores the native display of product images in WooCommerce and shows gallery thumbnails just fine. You might have some caching issues (clear browser cache, disable/clear cache plugins) or you have additional plugins causing the issue.
@mensmaximus Thank you for the solution! I have implemented your code for the Child Theme and it works well enough. My gallery images are no longer thumbnails – they’re larger images – but the errors are gone and it’s fine until kriesi gives an official update. Again, thank you!
Cheers,
Nikki
Hello,
I updated to WooCommerce 3.01 today and now the gallery images on my products don’t display properly and they show this error:
Missing argument 3 for avia_woocommerce_gallery_thumbnail_description() in /home/ncbr1/public_html/wp-content/themes/enfold/config-woocommerce/config.php on line 1360
Link: http://ncbr.org/product/ncbr-california-hoodie/
Code starting with line 1360:
function avia_woocommerce_gallery_thumbnail_description($img, $attachment_id, $post_id, $image_class )
{
$image_link = wp_get_attachment_url( $attachment_id );
if(!$image_link) return $img;
$image = wp_get_attachment_image( $attachment_id, apply_filters( ‘single_product_small_thumbnail_size’, ‘shop_thumbnail’ ) );
$image_title = esc_attr(get_post_field(‘post_content’, $attachment_id));
$img = sprintf( ‘%s‘, $image_link, $image_class, $image_title, $image );
return $img;
}
I tried removing the gallery images and re-adding them but the error still appears. I also went to WooCommerce’s support forum and they seem to think it’s an update needed in the theme. Please help.
Thanks!
Nikki