Hi Ismael,
No, not 174×245 px. The woocommerce_thumbnail has been set to 173 and i tried changing that to 174 and then uploading one of the product images that is currently displaying incorrectly. A 174×238 image was generated but then it still displays the product thumbnail using 450×450.
The uncropped registered image sizes are currently (after changing 173 to 174 in the Appearance > Customize > WooCommerce > Product):
- medium – 300 x 300
- medium_large – 768 x 9999
- large – 1030 x 1030
- product-image-mini – 50 x 0
- 1536×1536 – 1536 x 1536
- 2048×2048 – 2048 x 2048
- extra_large – 1500 x 1500
- masonry – 705 x 705
- shop_single – 450 x 999
- shop-hi-res – 320 x 470
- double-full-width – 2420 x 0
- woocommerce_thumbnail – 174 x 0
- woocommerce_single – 450 x 0
And all the generated images with the current setting are (including cropped images):
- omslag-suburbanweekend-resized-100×100.jpeg
- omslag-suburbanweekend-resized-1096×1500.jpeg
- omslag-suburbanweekend-resized-1123×423.jpeg
- omslag-suburbanweekend-resized-1123×430.jpeg
- omslag-suburbanweekend-resized-1123×630.jpeg
- omslag-suburbanweekend-resized-120×120.jpeg
- omslag-suburbanweekend-resized-174×238.jpeg
- omslag-suburbanweekend-resized-180×180.jpeg
- omslag-suburbanweekend-resized-219×300.jpeg
- omslag-suburbanweekend-resized-260×185.jpeg
- omslag-suburbanweekend-resized-301×301.jpeg
- omslag-suburbanweekend-resized-320×438.jpeg
- omslag-suburbanweekend-resized-36×36.jpeg
- omslag-suburbanweekend-resized-450×450.jpeg
- omslag-suburbanweekend-resized-450×616.jpeg
- omslag-suburbanweekend-resized-495×400.jpeg
- omslag-suburbanweekend-resized-500×225.jpeg
- omslag-suburbanweekend-resized-50×68.jpeg
- omslag-suburbanweekend-resized-515×705.jpeg
- omslag-suburbanweekend-resized-710×375.jpeg
- omslag-suburbanweekend-resized-753×1030.jpeg
- omslag-suburbanweekend-resized-80×80.jpeg
- omslag-suburbanweekend-resized-845×321.jpeg
- omslag-suburbanweekend-resized-845×684.jpeg
- omslag-suburbanweekend-resized.jpeg
Sorry, we do not have a staging site but I have a local installation and can do tests if you want to.
Best regards
Martin
Hi Ismael,
I wrote “…in the Woocommerce customizer the width value is 300px…” whay you ask me that? There is 300px width and the Thumbnails are 450×450 actually. it doesn’t seem like Enfold cares about this setting?!
Best regards
Mike
Hey Martin,
Thank you for the inquiry.
Did you register a custom thumbnail that is 174x245px in size? We would like to adjust the product thumbnail settings but we don’t want to change anything in the live site. Is there a staging version of the site where we can do the tests?
Best regards,
Ismael
Hey Mike61,
Thank you for the inquiry.
Adjusting the thumbnail size in the Appearance > Customize > Woocommerce > Product Images works properly on our end. To test it, try to temporarily set the value of the Thumbnail width field to 80px to make sure that the smallest thumbnail is shown in the catalog pages.
Did you adjust the size of the Medium thumbnail, or did you check if there are registered thumbnails that are 300px in width?
Best regards,
Ismael
Hi!
After upgrading to the latest version (not sure what version we had pre-upgrade, but it was a while ago), the product thumbnail images are not displaying correctly in our shop. The problem is odd, some images are shown in the correct ration (we have WooCommerce images set to display as uncropped in Appearance > Customize > WooCommerce > Product) while other products uses the cropped image, eg. 450×450 px. Many of the products are several years old and they have the correct uncropped image versions and have been displaying correctly pre-upgrade. Other products, just as old, are still displaying correctly.
We are using a child theme, but changing to the vanilla Enfold theme did not help. Only when switching to another theme (twenty twenty) the product images are all displayed uncropped as expected.
We have also tried switching to the “WooCommerce 3.0 product gallery” in the Enfold settings, but the problem persists and we switched back.
Let me know what more you need to know.
Thank you,
Martin
I would like to have the option of NOT displaying the featured image like what’s shown on the link that you sent me.
While the images in your sample don’t look bad at all, mine tend to look pixelated which is most likely due to the fact that they’re not large enough in their original state to be stretched out like that and not start to look jenky.
But is there way to have a featured image, so I’ve got a thumbnail in the footer etc, yet not have it displayed like on the site that you sent me?
Rikard! You, sir, are in a position to make my day! If we can figure this out within the next few hours before my meeting with my boss, we will be winners among those who merely show up!
Here’s what I’ve got:
First image (http://brucegust.com/downloads/full_page.png): This is the way my page looks like when you click on a “category” and it displays all of the posts that belong to that particular family of articles. In this example, the “featured image” is the trophy. In its proper context, the trophy shows up just fine within the article itself. But when it’s displayed as part of a whole category of similar posts, that same image is now enlarged and pixelated.
That’s what I’m trying to avoid! How can I fix that?
Second image (http://brucegust.com/downloads/sidebar.png): Ultimately, this is why I appreciate the “featured image” dynamic as much as I do. I like being able to include a small thumbnail alongside each article the way they’re displayed either in the footer or, in this instance, the sidebar.
This is part of what prompts my question. I want that part of the “featured image” mechanism. I just don’t want the enlarged and nasty looking image displayed like what I have pictured on http://brucegust.com/downloads/full_page.png.
Bonus (http://brucegust.com/downloads/this_space.png): Rikard, I realize this borders on being a completely different question and I will open up another thread if you prefer I do it that way. But this is all related in that the featured images that I want to see displayed on the side bar would ideally be accompanied by a larger image beneath them. I was envisioning a clickable photo that might connect a user to another article. Is that possible?
Thanks for your time!
I love “Featured Images!” I love the way they translate to a thumbnail on things like the “Recent News” section on the Footer.
What drives me nuts, however, is the way the same image will show up at the top of the post in the context of the way it’s listed with every other article that falls under the same category.
At that point, the Featured Image has been enlarged to the point where it’s pixelated and it looks unprofessional.
What I’d like to do is be able to use the “Featured Image” for the thumbnails in the way I referenced earlier, but avoid the way it’s used when it’s enlarged in the context of a list of posts.
I would be happy to provide some screenshots if that would help better describe my quandary. Otherwise, if you could share with me a piece of syntax I can incorporate into my functions.php or if there’s a setting that I’m overlooking, that would be wonderful.
I’m using the Enfold theme (https://themeforest.net/item/enfold-responsive-multipurpose-theme/4519990).
Thanks so much!
Hi,
One of the users kindly modified one of our snippet and use it to delete other thumbnails from the server which he thought was not necessary for a site that he was working on. Please check these threads.
// https://kriesi.at/support/topic/responsive-content-images-retina-screens/#post-1077293
// https://kriesi.at/support/topic/disable-creation-of-multiple-file-resoltuions-on-media-upload/#post-1172543
Please make sure to create a site backup (database, files etc) after adding the code and before regenerating the thumbnails.
If you have more questions about the theme, please feel free to open a new thread.
Thank you for your patience.
Best regards,
Ismael
Hey nasi,
Thank you for your patience and for the link to your site. I installed the Simple Image Sizes plugin for you to demonstrate that your woocommerce_gallery_thumbnail size is 100px, yet it is showing at 175px so it is blurry:

Try going to WordPress ▸ Settings ▸ Media ▸ Image sizes and change this to 180px and then regenerate the thumbnails

and then clear your browser cache and check again.
Best regards,
Mike
ok – thanks Ismael – on my testinstallation this code works.
this will immediately be added to my large collection of snippets.
And thanks – i did not see that i missed one closing curly bracket ! -Sorry
But i thought that the link function has to be hampered – and not redefine the image source for that image.
Both could be done by echo that new image definition:
function av_remove_featured_image_link($image) {
if (is_single()) {
$image = get_the_post_thumbnail( $current_post['the_id'], 'featured' );
}
// return : if you only want to have a different image source for that f.e. : entry_with_sidebar
echo $image;
}
add_filter('avf_post_featured_image_link','av_remove_featured_image_link', 10, 1);
and if you choose a different image-size source for this image it might be good to shift the image again to the center of its container:
( but even here there are a lot of possible selectors depending on the blog settings )
.template-single-blog .wp-post-image {
position: relative;
left: 50%;
-webkit-transform: translateX(-50%);
transform: translateX(-50%);
}
This reply has been marked as private.
Hey!
Thank you for the info @Guenni007.
I tested the filter on my end and it seems to break the layout of the post, pushing the image outside of the big-preview container.
code from: https://kriesi.at/support/topic/remove-link-from-featured-image-2/
function av_remove_featured_image_link(){
if(is_single()){
echo get_the_post_thumbnail( $current_post['the_id'], 'featured' );
}
}
add_filter('avf_post_featured_image_link','av_remove_featured_image_link');
I adjusted the code a bit.
function av_remove_featured_image_link($image) {
if (is_single()) {
$image = get_the_post_thumbnail( $current_post['the_id'], 'featured' );
}
return $image;
}
add_filter('avf_post_featured_image_link','av_remove_featured_image_link', 10, 1);
This returns the same markup or image which still contains a link as expected. This is due to this markup in the loop-index.php file.
iif( $slider )
{
if( $link_lightbox )
{
$slider = '<a ' . $lightbox_attr . ' ' . $featured_img_title . '>' . $slider . '</a>';
}
else
{
$slider = '<a href="' . $link . '" ' . $featured_img_title . '>' . $slider . '</a>';
}
}
if( $slider )
{
echo '<div class="big-preview ' . $blog_style . '" ' . avia_markup_helper( array( 'context' => 'image', 'echo' => false ) ) . '>' . $slider . '</div>';
}
We can slightly edit the code above to remove the link completely,
iif( $slider )
if( $slider )
{
echo '<div class="big-preview ' . $blog_style . '" ' . avia_markup_helper( array( 'context' => 'image', 'echo' => false ) ) . '>' . $slider . '</div>';
}
Or just use the css suggestion above.
Best regards,
Ismael
Hi,
The product gallery image thumbnails look blurry in the frontend, but then display great when I open them.
I guess there’s an issue with the thumbnail image size, but I haven’t been able to figure it out.
Help would be much appreciated!
Cheers
Hi,
Thank you for the info.
Is there a staging version of the site? We don’t want to accidentally break the site while editing the code.
Another solution is to extract the actual html of the slideshow and the layer slider and replace the shortcode. This solution works on our end.
This is an example of the fullwidth slider’s html.
$output .= '
<div id="full_slider_1" class="avia-fullwidth-slider main_color avia-shadow container_wrap fullsize">
<div class="avia-slideshow av-41ebxqf-8e1d42e67b1a6175203854efa82b817e avia-slideshow-no scaling av_slideshow_full avia-slide-slider av-slideshow-ui av-control-default av-slideshow-manual av-loop-once av-loop-manual-endless avia-slideshow-1" data-slideshow-options="{"animation":"slide","autoplay":false,"loop_autoplay":"once","interval":5,"loop_manual":"manual-endless","autoplay_stopper":false,"noNavigation":false,"bg_slider":false,"keep_padding":false,"hoverpause":false,"show_slide_delay":0}" itemprop="image" itemscope="itemscope" itemtype="https://schema.org/ImageObject">
<ul class="avia-slideshow-inner " style="padding: 0px; height: 366px;">
<li class="avia-slideshow-slide av-41ebxqf-8e1d42e67b1a6175203854efa82b817e__0 av-single-slide slide-1 slide-odd next-active-slide active-slide" style="visibility: visible; opacity: 1; transition: none 0s ease 0s; transform: translateZ(0px);">
<div data-rel="slideshow-1" class="avia-slide-wrap "><img class="wp-image-3345 avia-img-lazy-loading-not-3345" src="http://site.com/wp-content/uploads/2022/07/teahub.io-spaceship-wallpaper-631136.jpg" width="2560" height="1440" title="teahub.io-spaceship-wallpaper-631136" alt="A new home world. Test our faith." itemprop="thumbnailUrl" srcset="http://site.com/wp-content/uploads/2022/07/teahub.io-spaceship-wallpaper-631136.jpg 2560w, http://site.com/wp-content/uploads/2022/07/teahub.io-spaceship-wallpaper-631136-300x169.jpg 300w, http://site.com/wp-content/uploads/2022/07/teahub.io-spaceship-wallpaper-631136-1030x579.jpg 1030w, http://site.com/wp-content/uploads/2022/07/teahub.io-spaceship-wallpaper-631136-768x432.jpg 768w, http://site.com/wp-content/uploads/2022/07/teahub.io-spaceship-wallpaper-631136-1536x864.jpg 1536w, http://site.com/wp-content/uploads/2022/07/teahub.io-spaceship-wallpaper-631136-2048x1152.jpg 2048w, http://site.com/wp-content/uploads/2022/07/teahub.io-spaceship-wallpaper-631136-1500x844.jpg 1500w, http://site.com/wp-content/uploads/2022/07/teahub.io-spaceship-wallpaper-631136-705x397.jpg 705w" sizes="(max-width: 2560px) 100vw, 2560px" style="left: 0px;"></div></li>
</ul>
</div>
</div>
';
Best regards,
Ismael
First – these are snippets for child-theme functions.php!
to reduce the compression level of calculated images :
/**** abstellen der von Enfold auf 100 gesetzten jpeg Qualität *****/
add_filter("avf_jpeg_quality", "avf_set_quality_mod", 9999, 1);
add_filter("avf_wp_editor_set_quality", "avf_set_quality_mod", 9999, 1);
function avf_set_quality_mod($quality) { $quality = 55; return $quality;}
A) for WordPress image size formats
// Remove unneeded WP image sizes
// Remove default image sizes here.
function prefix_remove_default_images( $sizes ) {
// do NOT remove small and medium sizes, they are used in backend Media Library!
// unset( $sizes['small']); // 150px
// unset( $sizes['medium']); // 300px
unset( $sizes['large']); // 1024px
unset( $sizes['medium_large']); // 768px
return $sizes;
}
add_filter( 'intermediate_image_sizes_advanced', 'prefix_remove_default_images' );
B) for Enfold image size formats
function remove_enfold_image_sizes() {
// do NOT remove widget size, is used in backend portfolio items!
// remove_image_size('widget');
remove_image_size('square');
remove_image_size('featured');
remove_image_size('featured_large');
remove_image_size('portfolio');
remove_image_size('portfolio_small');
remove_image_size('gallery');
remove_image_size('magazine');
remove_image_size('masonry');
remove_image_size('entry_without_sidebar');
remove_image_size('entry_with_sidebar');
remove_image_size('shop_thumbnail');
remove_image_size('shop_catalog');
remove_image_size('shop_single');
remove_image_size('shop_gallery_thumbnail');
}
add_action('init', 'remove_enfold_image_sizes');
After inserting these snippets you had to recalculate thumbnails – use a plugin for that
i prefer: regenerate-thumbnails-advanced

Hi,
I don’t need alle the thumbnails, how can I disable them
a) while uploading and
b) delete existing ones?
Beste Regards
Tim
try this in your child-theme functions.php:
(it avoids the generation of a link – and did not hamper only the link function – on seo reasons this might be better ):
use Ismaels solution:
function av_remove_featured_image_link($image) {
if (is_single()) {
$image = get_the_post_thumbnail( $current_post['the_id'], 'featured' );
}
echo $image;
}
add_filter('avf_post_featured_image_link','av_remove_featured_image_link', 10, 1);
-
This reply was modified 3 years, 8 months ago by
Guenni007.
the only thing i would change is the check – if there is a post thumbnail:
so change ismaels code by surrounding it with an if clause:
$searchthumb = get_the_post_thumbnail( $the_id, 'large' );
if( ! empty( $searchthumb ) ) {
echo "<span class='search-result-counter {$counterclass}'>{$searchthumb}</span>";
}
_____________________________________________________________________________________________
i prefer to have the link on the image too and use square images : so i insert on that area instead:
$searchthumb = get_the_post_thumbnail( $the_id, 'square' );
if( ! empty( $searchthumb ) ) {
echo "<a class='slide-image search_image' href='".get_permalink()."'><span class='search-result-image'>{$searchthumb}</span></a>";
}
my solution needs this in quick css:
.search-result-image {
display: block;
}
.search-result-image img {
width: 120px;
border: 1px solid #aaa
}
a.slide-image.search_image {
overflow: visible !important;
}
a.search_image .image-overlay.overlay-type-extern {
left: 0 !important
}
see what it looks like on: https://webers-testseite.de/?s=portfolio
Bespoke Ecommerce for a phone case retailer here in the UK.
place4acase – iPhone and Samsung Galaxy phone cases
place4acase are suppliers and retailers of high quality phone cases for iphone and samsung galaxy devices. The company is based in the UK and are able to sell and distribute throughout the world. They work with artists to provide unique phone case designs available in matte, glossy and reinforced options.
The site is based on a modified version of Enfold with WooCommerce. We also use the excellent WooCommerce Extra Product Options Plugin from Code Canyon
The site also uses The Smash Baloon Instragram Feed Plugin.
The following modifications have been made:
-Changed the product page layout with CSS so the thumbnails are beside the image rather than next to it
-Moved the single product image over and made it larger so it is displayed more prominently
-custom header and menu structure with mobile first design
-product pages tweaked with sidebars removed and widget based filters for navigation
The site scores up to 95/100 in mobile speed testing and up to 100/100 on desktops
(Note that ther is currently a bug in the new PayPal plugin causing the mini cart JS to load on every page. This does reduce scores to 85/100 until the new release – This post was created 04/08/2022)
Think Jarvis uses an optimised performance stack for Enfold that includes
– 500 lines of code in functions.php
– font pre-loads
– lazyloading images
– baspoke ht access settings
– 8 core VPS server shared with other optimised sites only
– Caching
– Image compression and WebP generation
– Lazy Load JS on top of Enfolds HTML option so that the Instagram Feed is Lazy Loaded
– Critical CSS generator
– Bespoke Enfold settings
Let me know if you have any feedback :)
-
This reply was modified 3 years, 8 months ago by
thinkjarvis.
For the gallery it is
function avia_change_gallery_thumbnail_link($link, $attachment, $atts, $meta){
$link = wp_get_attachment_image_src($attachment->ID, “full”);
return $link;
}
add_filter(‘avf_avia_builder_gallery_image_link’, ‘avia_change_gallery_thumbnail_link’, 10, 4);
and how does it work for the slildeshow?
Dear Support Members, I am curious if there is a way to set a default setting for the hover effect on overview pages? On every product page I have a meta_box with settings for the hover effect:
Hover effect on Overview Pages
Do you want to display a hover effect on overview pages and replace the default thumbnail with the first image of the gallery?
• Default: No hover effect
• The other option is: Yes – show first gallery image …
For my pages I use a altered code form your documentation (mentioned in #1341086):
add_action( 'after_setup_theme', 'ava_enfold_builder_layout_mod' );
function ava_enfold_builder_layout_mod(){
if ( is_page() ) {
add_filter('avf_builder_elements', 'avf_enfold_builder_layout_settings_mod');
}
}
function avf_enfold_builder_layout_settings_mod($elements)
{
$counter = 0;
foreach($elements as $element)
{
if($element['id'] == 'header_transparency') {
$elements[$counter]['std'] = 'header_transparent';
}
$counter++;
}
return $elements;
}
So could I write something like:
add_action( 'after_setup_theme', 'ava_enfold_builder_layout_mod' );
function ava_enfold_builder_layout_mod(){
if ( is_product() ) {
add_filter('avf_builder_elements', 'avf_enfold_builder_layout_settings_mod');
}
}
function avf_enfold_builder_layout_settings_mod($elements)
{
$counter = 0;
foreach($elements as $element)
{
if($element['id'] == 'product_hover') {
$elements[$counter]['std'] = 'hover_active';
}
$counter++;
}
return $elements;
}
I already did some tests, but with no success. My goal is to set the default to “yes” for all new products. Any chance to do that?
Cheers, Daniel
Hey ivanglaser,
Thank you for the inquiry.
Are you using any kind of image optimization or compression plugin? It seems to be resizing the lightbox thumbnail based on a specific URL parameter or query. (see private field)
Try to add this code in the functions.php file to adjust the default lightbox thumbnail size.
add_filter('avf_avia_builder_helper_lightbox_size', function($size) {
return 'full';
}, 10, 1);
Best regards,
Ismael
Hey smudgedesign,
Thank you for your patience, the thread from 2015 that you linked to about the Portfolio Grid doesn’t actually have a solution, the Moderator is pointing out the code block that would need to be edited without advising the specific changes. I found in my test that no change is nessary to achieve what you are looking for if you use the Portfolio Grid.
I created a test page with a Portfolio Grid element and with a square “cropped” image the element shows the image square with the title below:

please note that the image is 349×349 square, with the title it’s 349×403

The key to choosing your images is ensuring that the thumbnails are “cropped”, if you use the Simple Image Sizes plugin you will see which ones are actually cropped square, for example while the “medium” image is 300×300 it is not cropped so it shows as 349×249 if the uploaded image is landscape instead of square, compared to the “woocommerce_thumbnail” which is 300×300 and cropped and produce the square images in the screenshots above.
Now one point, the thread from 2015 that you linked to about the Portfolio Grid, often referred to as the Masonry Portfolio, because it has many of the same features as the Masonry element, so please try the Portfolio Grid element.
Best regards,
Mike
Hi, we have some problems with social media widgets.
Instagram – can not connect to Instagram. User name is proper, because button with link to profile, leads to proper account, but widget is not importing thumbnails.
Facebook, not working on mobile.
Hi billbasler,
We apologize for the delayed response as well as the inconvenience.
https://kriesi.at/themes/enfold/portfolio-item/single-portfolio-23-gallery-3/ uses the Gallery element which has a Gallery Style of Big image with thumbnails below.
I have created a portfolio item on your site which is similar to the link you gave, here’s the page: https://phelansinteriors.com/portfolio-item/demo-portfolio-item/
I hope this helps.
Best regards,
Nikko
I solved my issues above through a lot of reading and trial and error. This was very frustrating that I never heard back from support on the issue. I ended up reading dozens of pages of support posts, only to find one that cited “lazy loading” under site Performance Options as a possible culprit. There is absolutely no way that I would hav e found this via searching. This seemingly unrelated setting was the issue. It is not that my Portfolio was improperly configured. It was that the load time on any image other than the Featured Image was absolutely crippled. It would take longer than two minutes for the other thumbnails to load on the page. So frustrating.
So now, my current question is this. My test page currently looks like this: https://phelansinteriors.com/portfolio-item/bridges-senior-lifestyle-living/
Not bad, but I am getting a very horizontal image that a user will then need to click on to get to the thumbnails. )Click the image). The effect I am looking for is like this: https://kriesi.at/themes/enfold/portfolio-item/single-portfolio-23-gallery-3/
In other words, I have no need for the interim click just to get to the thumbnails. I appreciate the help
Hi frankeee,
Thanks for providing us with admin access.
I tried to regenerate the thumbnails using a plugin Simple Image Sizes (have removed it) and it was able regenerate medium sizes (300x300px), there were two images in the masonry that weren’t regenerated so I re-uploaded the image so WordPress can recreate the medium size of those images and it seems to be working properly.
By default when chosen size is not available the full version of that image is used instead.
Best regards,
Nikko
Kreisi Support:
I am a fairly experienced Enfold user with quite a number of licenses. I am delving into a feature that I have previously not used—Portfolio Items.
I think I have a pretty good understanding of the basics. I should be able to get this to work, but yet, I seem to be having an issue. Namely, when I add images to a Portfolio and properly define the grid, a featured image etc., I cannot seem to see all images—not even in their thumbnail form. All I ever see is the larger featured image. No thumbnails below, and no way of advancing through the images using Ajax controls.
What am I missing?
My test Portfolio is titled “Balster Pediatric Dentistry.” And my page which I am trying to get the portfolio to appear on is titled “Projects.” I have copied the site and admin login credentials in Private Content.
Hi,
Looks like it defaults to the “large” thumbnail when using the list style. Please try to edit the enfold/config-templatebuilder/avia-shortcodes/portfolio/portfolio.php file and look for this code around line 1470.
// create array with responsive info for lightbox
$img = Av_Responsive_Images()->responsive_image_src( $attachment->ID, 'large' );
Replace “large” with “full”.
// create array with responsive info for lightbox
$img = Av_Responsive_Images()->responsive_image_src( $attachment->ID, 'full' );
Best regards,
Ismael