Hello, thank you for getting back to us.
We did not add any code to regenerate thumbnails. However, after applying the code and testing with new image upload, we received 17 new images again, which means we couldn’t accomplish what we wanted. We are testing a few new options now. We will apply the function you suggest above and see what will happen.
Any other advices and suggestions are welcome.
Thank you.
Hey designelefant,
Thank you for the inquiry.
After adding the code with the remove_image_size function, did you regenerate the thumbnails? Please note the function will not affect images that are already uploaded to the site. It will only work on newly uploaded images.
You can use any of these plugins to regenerate the thumbnails.
// https://wordpress.org/plugins/force-regenerate-thumbnails/
// https://wordpress.org/plugins/regenerate-thumbnails-advanced/
Make sure to create a site backup or restore point before proceeding.
Best regards,
Ismael
Thanks Ismael,
This is great, but they appear above the thumbnails. How can I have them display below the thumbnail above the post title?
I’d also like them to align left, not centred?
Thank you!
Dear Kriesi,
Can I display the portfolio categories for each portfolio item in the Portfolio Grid? I would like to display the different types of project i.e Seminar, Publication, Film etc between each thumbnail and title?
Please see my page in private link below.
Thanks and best wishes,
Richard Wilding
Hi,
Glad that this helps, the backend Featured image thumbnail is a WordPress function and I don’t know how to change this. But as you pointed out your customers won’t see this. Shall we close this thread then?
Best regards,
Mike
Hey ProSEO,
I added this to your functions.php file in Appearance ▸ Editor:
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';
}
and it solved your webshop

and the Related products:

Best regards,
Mike
I have stripped down a clone of my live site to just have two themes and Woocommerce installed.
I have Woocommerce setup to show the original format of the product images and this works fine if I use a different theme than Enfold.
When I activate Enfold the product images are cropped and squared – like there is some setting or internal code in Enfold that overwrites the Woocommerce settings for thumbnails.
Woocommerce thumbnail setup – see it here
Product image cropped and squared on “Edit Product” screen with Enfold active – 
Image is shown in same way on shop page – see it here
Correctly formatted product image on “Edit Product” screen with Twentysixteen theme active –
Hope someone can help my solve this issue.
Kind regards
Dennis
-
This topic was modified 11 months, 1 week ago by
ProSEO. Reason: Missing image
-
This topic was modified 11 months, 1 week ago by
ProSEO.
-
This topic was modified 11 months, 1 week ago by
ProSEO.
Dear Ismael,
We are having trouble while previewing thumbnails at https://tecnicabina.com/productos/cabina-aspirado-filtrado-depresion-recinto-comun/
Gallery IMG preview gets the same IMG.
Temporarily deactivated: child theme, scripts. WP-rocket, everything..
Still having same issue.
How could we solve?
Thanks
David
Dear Ismael,
We are having trouble while previewing thumbnails at https://tecnicabina.com/productos/cabina-aspirado-filtrado-depresion-recinto-comun/
Gallery IMG preview gets the same IMG.
How could we solve?
Thanks
David
Hi,
Thank you for the update.
There are thumbnails in the Preview Image Size selection that crop the source image based on the specified dimensions, but they retain the original aspect ratio. For example, if the specified thumbnail size is 400x200px, which has an aspect ratio of 2:1, and an image with a 16:9 aspect ratio is uploaded, the image will be resized to a maximum width of 400px but it will retain its original aspect ratio. This means the height will be adjusted proportionally. This is why it’s recommended to upload images with a similar size and aspect ratio.
Best regards,
Ismael
Hey Ismael
Super thanks and that has fixed most of them for now.
I have set a custom size via the Preview Image Size but my site (even with regenerating thumbnails) doesn’t seem to work. Does the system crop regardless of the original image ratio or does it required specifics?
Richard
Hey Richard,
Thank you for the inquiry.
To avoid distorting the images, you can use the following css code instead:
.slide-image {
min-height: 223px;
}
.slide-image img {
object-fit: cover;
width: 100%;
height: 100%;
object-fit: cover;
min-height: 223px;
}
Aside from using the css above, other solutions include uploading images with the same height and aspect ratio, or selecting a specific thumbnail in the Styling > Appearance > Preview Image Size settings if you’re using the Blog Posts element.
Best regards,
Ismael
Hi there
I’ve spent ages trying to fix this issue but with no luck so far. I’ve resorted to stretching the images using the following CSS
.slide-image img {
height: 250px;
}
I’ve installed the plugins Simple Image Sizes and Force Regenerate Thumbnails, following guidance from other threads. No matter what size I select in the builder Blog Posts > Appearance or define via the plugin, along with regenerating I see no changes on the page added in Private Content.
What I am trying to achieve is a consistent height regardless of the size or ratio of the Featured Image added.
Any help would be very much appreciated.
Thanks
Richard
Hey ibuzaev,
Thank you for the inquiry.
Try selecting the second option (Show thumb and title by default), then add this css code to hide the thumbnail container.
#top .related_image_wrap {
display: none !important;
}
Let us know if this works for you.
Best regards,
Ismael
Hi,
Thank you for the update.
1.) You can safely remove some of the thumbnails if you think they’re not going to be used. Most of them are only loaded on smaller screens or mobile devices.
2.) We haven’t tested the plugin, but it shouldn’t conflict with the theme. Please contact the plugin developers for more info.
3.) The plugin should automatically do this without editing the database. Again, you can contact the plugin developers or refer to their documentation for additional info.
To learn more about site optimization, check the links below:
// https://kriesi.at/archives/scoring-100-100-in-google-pagespeed-insights-gtmetrix-pagespeed-and-yslow
// https://gtmetrix.com/wordpress-optimization-guide.html
Best regards,
Ismael
Hey ibuzaev,
Thank you for the inquiry.
Yes, it’s safe to disable the thumbnails, but we don’t recommend it as they contribute to site speed optimization. If you still want to proceed, this thread should help: https://kriesi.at/support/topic/media-upload-and-enfolds-thumbnail-sizes/#post-1270140
Best regards,
Ismael
Hi Mike,
Thank you very much. I had overlooked this setting. Unfortunately, the link does not open when I click on the main image (which is displayed large), but only when I click on the thumbnail. This is not optimal from a UX point of view. What solution is there for this?
Best regards,
Marcel
Hey Octopus4444,
Thank you for your patience, but the example links that you posted all lead to a 404, when I check a few of your pages the color section background image with wp_custom_field:_thumbnail_id} seem to work correctly when I check. For example on /modules-specifiques/ you have this

pointing to this thumbnail

and on the frontend it shows correctly

perhaps you have already sorted this out?
Best regards,
Mike
Can you test please:
put this to your child-theme functions.php:
add_theme_support('avia_show_alb_responsive_image_option');
after that open your masonry element and look to advanced tab – performance : do not use responsive images.
This i hope will end in showing the original image instead of the smaller calculated images.
On styling tab choose (just for testing purposes) “no scaling (original width…)” now see if the uploaded images are yellowish too.
If not then there went something wrong on recalculating the smaller (for responsive purpos) image formats.
maybe put this to child-theme functions.php to show original images in lightbox:
function custom_alb_lightbox_image_size( $size, $context ){
if( $context == ('av_gallery' || 'avia_masonry') ){
return 'original';
}
return $size;
}
add_filter( 'avf_alb_lightbox_image_size', 'custom_alb_lightbox_image_size', 10, 2 );
If this shows now in masonry and on lightbox the well saturated images – then you can use once the plugin : https://wordpress.org/plugins/force-regenerate-thumbnails/ and recalculate all images. This i hope will correct the mismatch. After recalculation you can delete that plugiin from your installation.
The product photos that are under the main photo are full size, instead of the normal thumbnails photos.
Can you take a look and see if you can find out what is causing this?
Thanks!
Hey Tanja,
Thank you for the inquiry.
Yes, by default, WordPress applies srcset and sizes attributes to images, allowing the browser to select a more suitable thumbnail for different screen sizes. You can learn more about it here: https://developer.wordpress.org/apis/responsive-images/
Best regards,
Ismael
Hey bdfuel,
Thank you for the inquiry.
You can manually add the html using a Text or Code block element. Example:
<div class="avia-author-book-container avia-column-gap-no">
<div class="avia-column avia-col-50 avia-top-column avia-element avia-element-1fbc302" data-id="1fbc302" data-element_type="column">
<div class="avia-widget-wrap avia-element-populated">
<div class="avia-element avia-element-41719f0 avia-widget__width-initial avia-widget avia-widget-jet-listing-dynamic-image" data-id="41719f0" data-element_type="widget" data-widget_type="jet-listing-dynamic-image.default">
<div class="avia-widget-container">
<div class="jet-listing jet-listing-dynamic-image">
<a href="https://demo.crocoblock.com/v2/only-books/book-authors/adiva-geffen/" class="jet-listing-dynamic-image__link">
<img width="100" height="100" src="https://demo.crocoblock.com/v2/only-books/wp-content/uploads/2022/04/Adiva_geffen-100x100.jpg" class="jet-listing-dynamic-image__img attachment-shop_thumbnail size-shop_thumbnail wp-post-image" alt="Adiva_geffen" decoding="async" srcset="https://demo.crocoblock.com/v2/only-books/wp-content/uploads/2022/04/Adiva_geffen-100x100.jpg 100w, https://demo.crocoblock.com/v2/only-books/wp-content/uploads/2022/04/Adiva_geffen-150x150.jpg 150w, https://demo.crocoblock.com/v2/only-books/wp-content/uploads/2022/04/Adiva_geffen-230x230.jpg 230w" sizes="(max-width: 100px) 100vw, 100px" loading="eager">
</a></div>
</div>
</div>
</div>
</div>
<div class="avia-column avia-col-50 avia-top-column avia-element avia-element-09dc9ac" data-id="09dc9ac" data-element_type="column">
<div class="avia-widget-wrap avia-element-populated">
<div class="avia-element avia-element-049d92b avia-widget avia-widget-jet-listing-dynamic-link" data-id="049d92b" data-element_type="widget" data-widget_type="jet-listing-dynamic-link.default">
<div class="avia-widget-container">
<h4 class="jet-listing jet-listing-dynamic-link">
<a href="https://demo.crocoblock.com/v2/only-books/book-authors/adiva-geffen/" class="jet-listing-dynamic-link__link">
<span class="jet-listing-dynamic-link__label">Adiva Geffen</span>
</a></h4>
</div>
</div>
<div class="avia-element avia-element-5b03505 avia-widget avia-widget-heading" data-id="5b03505" data-element_type="widget" data-widget_type="heading.default">
<div class="avia-widget-container">
<span class="avia-heading-title avia-size-default">1 books</span></div>
</div>
</div>
</div>
</div>
Then add this css code:
.avia-author-book-container {
display: flex;
flex-wrap: wrap;
}
.avia-column.av-ia-col-50 {
width: 50%;
padding: 10px; /* Adjust the padding as needed */
}
.avia-widget-wrap {
display: flex;
flex-direction: column;
}
@media (max-width: 768px) {
.avia-column.av-ia-col-50 {
width: 100%; /* Stack columns on smaller screens */
}
}
You can use the 1/4 Column element for each author.
Best regards,
Ismael
Hi team,
I’ve an issue when :
- I create an alb_custom_layout for my pages with a section color. I would set a dynamic background with the featured image of my pages.
- I set correctly the image background with a default img and I write {wp_custom_field:_thumbnail_id} for the dynamic value
- For the content of my section, I add in special_heading block a dynamic title ({wp_post_title} in heading and {wp_post_excerpt} in sub-heading field)
- For testing, I’ve add too a dynamic image in my section color content (same dynamic field :{wp_custom_field:_thumbnail_id} )
- I call my alb_custom_layout on my pages and I set the featured image on each pages (page A, page B, page C…)
- In front, when I go on page A, I’ve the correct background image (the featured image of page A) , I’ve the correct title, subtitle and my image content is the featured image of page A too
- BUT, when I go on page B, C or D, I’ve the featured image of page A for the background of my section color, the good title, subtitle and the image content work correctly !
What’s wrong with the dynamic call of the background image of my section color?
Thanks for your help, I put in private the access of my site.
Marc
This reply has been marked as private.
Portfolio grid displays thumbnails correctly if the images are on desktop screen.
https://img.savvyify.com/image/Large-desktop.9xsNe
Having left the basic theme settings (2 columns), on tablets it strangely displays a single image first and then the pairs of the remaining in the case of odd portfolio entries.
https://img.savvyify.com/image/Settings.9xFmy
https://img.savvyify.com/image/Tablet-uneven-7.9xHqn
Works regularly if they are even in number.
https://img.savvyify.com/image/Tablet-even-8.9xgMd
I’m still new to WordPress/Enfold and I’m trying to set the thumbnail for a post slider to the same height.
In the link of the test page, the post slider after the first image has one thumbnail that is at 1210 x 420, and the others 1080 x 420.
I want them all to appear at a certain height, preferably the same height as the one with the 1210 x 420 dimension.
The slider’s image size is set to “Entry without sidebar (1210×423)”.
Below is the custom css I added over the course of solving multiple issues, so some of them may be working against each other. I would appreciate any advice about the custom css below or any additional one(s) that could achieve the look I want.
#top .avia-content-slider .slide-entry-title { font-size: 1em; }
#top .post-entry .blog-categories {
font-size: 0.9em;
font-weight: normal; }
#top .content .entry-content-wrapper {
padding-right: 0px;
}
#top .avia-slideshow-inner {
float: center;
}
#top .avia-content-slider .slide-entry-wrap {
float: center;
}
#top .avia-content-slider-inner {
margin: 0px;
overflow: hidden !important;
}
#top .avia-content-slider {
display: flex;
}
#top .avia-content-slider .slide-image img{
height: auto !important;
}
.avia_desktop .avia-content-slider .avia-slideshow-arrows a{ opacity: 1; }
@media only screen and (max-width: 479px)
{
.responsive #top #wrap_all .slide-entry{width:48%; margin-left:4%}
.responsive #top #wrap_all .avia-content-slider-even .slide-entry.slide-parity-odd,
.responsive #top #wrap_all .avia-content-slider-odd .slide-entry.slide-parity-even{margin:0; clear:both;}
.responsive #top #wrap_all .avia-content-slider-odd .slide-entry.first{margin-left:0; width:100%;}
.responsive .avia-content-slider .slide-image img { width: 100%; }
.responsive #top .avia-slideshow-arrows a{
display:block !important;
opacity: 1;
font-size: 20px;
width: 60px;
height: 60px;
top: 30%;
margin: -30px 0 0;
text-align: center;
}
}
#top .scroll-down-link {
height: 60px;
width: 80px;
margin: 0px 0 0 -40px;
line-height: 60px;
position: absolute;
left: 50%;
bottom: 25px;
color: #263238;
text-align: center;
font-size: 70px;
z-index: 100;
text-decoration: none;
text-shadow: 0px 0px 5px rgba(0, 0, 0, 0);
}
Hey tixxpff,
Thank you for the inquiry.
You can add this filter in the functions.php file to change the lightbox thumbnail size of the horizontal gallery:
function avf_alb_lightbox_image_size_mod($size) {
return "full";
}
add_filter('avf_alb_lightbox_image_size', 'avf_alb_lightbox_image_size_mod', 10, 1);
Best regards,
Ismael
Hey there,
the title says it all. When I click on the images in my horizontal gallery and they open in a lightbox, I would like these images to appear in full-size, not a cropped version (I believe it’s “large”).
There’s an older thread with a post and solution for exactly this problem, only for a different gallery type and I don’t know how to make this code work for the horizontal gallery.
Thank you!
Again, thank you! The answer was right under my nose, but was deceiving because of a remnant thumbnail left over after the transfer. I removed the old “Transparency Logo” (the remnant) and replaced it with a new link and it now works perfectly. Much appreciated (and SOLVED).
just remove the portfolio from those snippets:
function avf_template_builder_content_postimage_mod($content = ""){
if( is_singular('post') && ( '1' != get_post_meta( get_the_ID(), '_avia_hide_featured_image', true ) ) ) {
$featuredImage = get_the_post_thumbnail( $the_id, 'original' );
$content = '<header class="entry-content-header"><div class="page-thumb">' .$featuredImage. '</div></header>' . $content ;
}
return $content;
}
add_filter('avf_template_builder_content', 'avf_template_builder_content_postimage_mod', 10, 1);
//image-sizes: widget, square, featured, featured_large, extra_large, portfolio, portfolio_small, gallery, magazine, masonry, entry_with_sidebar, entry_without_sidebar, medium, large
function custom_post_featured_image_link( $image_link, array $current_post, $size ){
if( is_singular('post') && ( '1' != get_post_meta( get_the_ID(), '_avia_hide_featured_image', true ) ) ) {
$image_link = get_the_post_thumbnail( $current_post['the_id'], 'original' ); /**** or medium, square etc. ***/
}
return $image_link; // echo $image_link; if you want to get rid of link function
}
add_filter( 'avf_post_featured_image_link', 'custom_post_featured_image_link', 10, 3 );