I have completely gotten rid of Jetpack and Jetpack Boost. That seems to help on the homepage mobile numbers…but…
I am noticing that on subpages, however, there are still issues with images being too big. I am still trying to figure out how I am supposed to know what size image any particular slider or image box is looking for…apparently this is only on mobile devices though. All of my images seem to work fine for the desktop performance numbers with respect LCP etc. . . but for mobile, I am not understanding why those elements are not picking the correct thumbnails to use when served up to mobile devices?
I can see that I can hide them in the Responsive tab, but I don’t want to hide every image, slider and video.
Am I missing a checkbox that tells the elements to choose the proper thumbnail image for mobile devices?
Hi,
Thanks for the feedback, remove the css above and keep the caption in your featured image in the media library, and then try adding this code to the end of your child theme functions.php file in Appearance ▸ Editor:
function custom_post_featured_image_link( $image_link ) {
if(is_single() && has_post_thumbnail()) {
$image_link = get_the_post_thumbnail();
$thumbnail_id = get_post_thumbnail_id();
$thumbnail_caption = wp_get_attachment_caption($thumbnail_id);
$caption_div = '<div class="featured-image-caption" style="text-align: center;">' . esc_html($thumbnail_caption) . '</div>';
$image_link = $image_link . $caption_div;
}
return $image_link;
}
add_filter( 'avf_post_featured_image_link', 'custom_post_featured_image_link', 10, 3 );
the caption should show like this:

I’m not sure how it will show for your different layouts as the WordPress login above didn’t work for me so I couldn’t test, so give it a try.
Best regards,
Mike
Hi,
Try adding the custom class larger-thumbnails to the magazine element that you are using on the page and then add this code to the end of your child theme functions.php file in Appearance ▸ Editor:
function custom_larger_thumbnails_script() { ?>
<script>
(function($){
$('.av-magazine.larger-thumbnails .av-magazine-entry img').attr('width', '180px');
$('.av-magazine.larger-thumbnails .av-magazine-entry img').attr('height', '180px');
$('.av-magazine.larger-thumbnails .av-magazine-entry img').attr('sizes', '(max-width: 180px) 100vw, 180px');
$('.av-magazine.larger-thumbnails .av-magazine-entry .av-magazine-thumbnail').css({'height': '180px','width': '180px'});
})(jQuery);
</script>
<?php
}
add_action( 'wp_footer', 'custom_larger_thumbnails_script', 99 );
Please ensure to copy the code from the forum and not an email notification so the symbols are not converted.
Best regards,
Mike
Thank you !
And last question, sorry : how can I modify the size of the thumbnail size of the magazine element, when I use the above configuration ?
THanks in advance, best regards
Hey robertbwc,
The thumbnails under the product image is added via the metabox in the edit page:

To add a video under the product image, this space is the product sidebar, so you can add a sidebar widget with a video, if you want this for only one product or a different video for each product the Widget Options plugin will allow you to select which product pages will show which widget elements
Best regards,
Mike
Hello,
When I share a blog post for example on Facebook the Featured Image I have included in the blog post does not show. Instead, my Logo shows. I investigated this and was told by Facebook’s Debug Tool that –
Warnings That Should Be Fixed: Inferred Property
The ‘og:image’ property should be explicitly provided, even if a value can be inferred from other tags.
I then investigated further and was told by AI to add the following code to the theme’s functions.php file:
function add_open_graph_tags() {
if (is_single()) {
global $post;
$thumbnail = wp_get_attachment_image_src(get_post_thumbnail_id($post->ID), ‘large’);
if ($thumbnail) {
echo ‘<meta property=”og:image” content=”‘ . esc_url($thumbnail[0]) . ‘” />’ . “\n”;
}
} elseif (is_home() || is_front_page()) {
// You can set a default og:image for your homepage here
echo ‘<meta property=”og:image” content=”URL_OF_YOUR_DEFAULT_IMAGE” />’ . “\n”;
}
}
The thing is that I don’t know what the URL_OF_YOUR_DEFAULT_IMAGE is. I tried with a random image url from my WordPress Media folder but the FB Debugger did not like that, either.
Can you please help? Many thanks and greetings, Lokita
Hey dancedojo,
Please see the “list layout” option in the blog post element.

You can also hide the thumbnails in the magazine element and only show the title & date:

Best regards,
Mike
Hi,
@Guenni007: Thanks for the info.
@xfacta: You can also try the filter provided by @Guenni007 above to change the post thumbnail.
Best regards,
Ismael
masonry image size is a non-cropped size too. ( or use full images )
so – if you use that snippet in child-theme functions.php it will use that image-size format:
function av_remove_featured_image_link($image) {
if (is_single()) {
$image = get_the_post_thumbnail( $current_post['the_id'], 'masonry' );
}
return $image;
}
add_filter('avf_post_featured_image_link','av_remove_featured_image_link', 10, 1);
Hi,
Thank you for the update.
so that will just keep the featured image its actual size and not change/crop it to a fixed size?
Yes, we set the maximum size of the post thumbnails (entry_with_sidebar and entry_without_sidebar) to 9999px, so uploading any images smaller than that size should remain or display as they are. After adding the code, please make sure to regenerate the thumbnails or upload the featured images again.
Best regards,
Ismael
Hey xfacta,
Thank you for the inquiry.
You can adjust the default width and height of the thumbnails used in the blog posts by adding this code to the functions.php file:
function avf_customization_modify_thumb_size( $size ) {
$size['entry_without_sidebar'] = array( 'width' => 9999, 'height' => 9999 );
$size['entry_with_sidebar'] = array( 'width' => 9999, 'height' => 9999 );
return $size;
}
add_filter( 'avf_modify_thumb_size', 'avf_customization_modify_thumb_size', 10, 1 );
After adding the code, you have to regenerate the thumbnails or upload the images again:
// https://wordpress.org/plugins/regenerate-thumbnails/
Please make sure to create a site backup before proceeding.
Best regards,
Ismael
(First, can I add to this thread by replying to the emails? I’m not getting a bounce back, but I’m not sure if I can do that or not)
When I try to pick smaller sizes, the images are blurry. I figured it was because it was stretching the image to fit a window . . . I thought that the theme element would pick the correct thumbnail size to match the size that I was defining in the dropdowns, but I think that must be me picking the actual image . . . I don’t know how to know how big the image area is for each area, so it’s tough to know what size thumbnail to assign to it.
Am I missing something that shows me the size of the window that is designed for the image window?
Hi,
To change the h1 font size on single posts try this css:
#top.single-post #wrap_all .all_colors .post-entry h1.post-title.entry-title {
font-size: 20px;
}
I’m not sure what you mean by changing your image size, when you upload an image WordPress creates thumbnails of it to be used in different situations, often cropping your image, but for best results you should resize you image before you upload it, here is a free online resizer. If you need further help with this please open a new thread and explain in more detail including the sie you want the image to show and what size you are uploading.
Please note that we ask that you create a new thread for each issue, this helps other users find solutions based on the opening subject line quicker and helps keep the thread length manageable and on topic for multiple mods to assist. Thank you for your understanding.
Best regards,
Mike
Hi,
Another thing that might help with the LCP issue is to resize the image further. I know you already did this, but the current width of the original image is still 1200px, while the maximum size of the video container on desktop view is only 700px. This will be a lot smaller on mobile devices, so it will require a smaller image. Resizing the image to 700px or 600px (smaller is better) before uploading it should improve LCP.
This should also be done for the images in the columns (Couples Counseling, Individual Counseling, etc.) below the video. The rendered size of the image is only 355px, but the actual image is 845px in width. You should upload a smaller image or make sure to pick a smaller thumbnail size (portfolio, masonry, medium, etc.). The same thing should be done with the images below the “Schedule an appointment” button if you really want to optimize the loading speed of the page.
Best regards,
Ismael
Hi,
Also use Guenni007 code for full size image.
function custom_post_featured_image_link( $image_link, array $current_post, $size ){
if(is_single()){
$image_link = get_the_post_thumbnail( $current_post['the_id'], 'full' ); /**** or medium, square etc. ***/
}
echo $image_link;
}
add_filter( 'avf_post_featured_image_link', 'custom_post_featured_image_link', 10, 3 );
Best regards,
Mike
Is ait possible to leave the little categorie names just right over the titles and right beside the thumbnailphotos in the magazine style without having the links to the archive?
I don`t need the links but it is queiet nice when people can see, that some programms are in a few categories.
That would be perfect :)
Many greetings rixi
Well – i think there is no filter to do the job.
The lines in source code of loop-index.php are on elegant blog and big preview image from line 386ff
if you comment these line out :

and then use instead of echo a return in the snippet:
function av_remove_featured_image_link($image) {
if (is_single()) {
$image = get_the_post_thumbnail( $current_post['the_id'], 'full' );
}
return $image;
}
add_filter('avf_post_featured_image_link','av_remove_featured_image_link', 10, 1);
then it will come to your result:
https://webers-testseite.de/standard-post/
can you try this in your child-theme functions.php:
just a moment – i think there will be snippet to have both solutions in one. …
function custom_post_featured_image_link( $image_link, array $current_post, $size ){
if(is_single()){
$image_link = get_the_post_thumbnail( $current_post['the_id'], 'full' ); /**** or medium, square etc. ***/
}
echo $image_link;
}
add_filter( 'avf_post_featured_image_link', 'custom_post_featured_image_link', 10, 3 );
PS :
repeat(5, 1fr) – is a short form of 1fr 1fr 1fr 1fr 1fr
if you need for one column a bit more place you can do that: 1fr 1fr 1fr 1.3fr 1fr ;)
_______
i used on that installation the nice snippet from Ismael ( link ) to place the post-thumbnails besides the menu-items.
function avf_wp_nav_menu_objects($sorted_menu_objects, $args) {
// check menu name
if ($args->menu->name != 'hauptmenue') return $sorted_menu_objects;
foreach ($sorted_menu_objects as $menu_object) {
if ( in_array($menu_object->object, array('post', 'page', 'portfolio')) ) {
$menu_object->title = has_post_thumbnail($menu_object->object_id) ? $menu_object->title . get_the_post_thumbnail($menu_object->object_id, 'thumbnail') : $menu_object->title;
}
}
return $sorted_menu_objects;
}
add_filter('wp_nav_menu_objects', 'avf_wp_nav_menu_objects', 10, 2);
a bit of css is needed then for dimension and placement.
@mike you can now close this issue.
For any other users of Enfold who use scalability Pro by Super Speedy Plugins / WP Intense:
To ensure that Enfold thumbnail sizes arent removed please go to Settings > Scalability Pro > Imports > Global Image sizes > Click Enable and then tick all of the boxes to exclude the image sizes from the optimisation settings. Obviously you can tweak this list if you want to disable some of the items.
You can also use other plugins like Shortpixel Regenerate Thumbnails plugin. We use this because you can quickly add new sizes as well.
Since upgrading to the latest WordPress and Enfold version
Enfold Thumbnails are suddenly not being recognised by the system.
This includes the widget size thumbnail required for display in the back end of the website. So Posts > all posts or Pages > All Pages now shows stupendously large images.
Can you try installing this plugin and see if it correctly displays all enfold image sizes in the list of sizes available?
I can no longer see any of Enfolds image sizes in the list.
Hi,
When I test this function on my test shop site:
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 'fullsize';
}
The category and tag archive page show the full size product images.
Best regards,
Mike
Hi
No matter what I do I cannot get PageSpeed Insights to prevent a Largest Contentful Paint error on images above the fold in grids.
I have WP Rocket installed and all lazy loading is switched off but activated through WP Rocket. I get that Lazy Loading will essentially cause an LCP issue as it is delaying the image from loading.
However, I have added an exception to the WP Rocket optioons to exclude a test image – theoretically telling the Enfold Theme to NOT lazy load and serve the image normally. This is not the case as PSI still reports an error.
Any ideas?
It appears on all Portfolio pages see this example: https://swarezart.com/modern-art-paintings-for-sale/vanishing-point/ this URL does have the first image excluded from lazy loading but it still apears to lazy load and that must be why I have the error yes?
PSI reports back this code for the element: <img decoding="async" fetchpriority="high" class="wp-image-61006 avia-img-lazy-loading-not-61006 avia_image entered lazyload…" src="https://cdn.swarezart.com/wp-content/uploads/2024/03/black-and-gold-and-bl…" alt="black and gold and blue art hanging on a wall" height="684" width="703" itemprop="thumbnailUrl" data-lazy-srcset="https://cdn.swarezart.com/wp-content/uploads/2024/03/black-and-gold-and-bl…" data-lazy-sizes="(max-width: 703px) 100vw, 703px" data-lazy-src="https://cdn.swarezart.com/wp-content/uploads/2024/03/black-and-gold-and-bl…" data-ll-status="loaded" …>
The test can be run live here: https://pagespeed.web.dev/analysis/https-swarezart-com-modern-art-paintings-for-sale-vanishing-point/loisuour9h?form_factor=mobile
Any help wpuld be greatky appreciated.
Thanks in advance
Ed
Hi,
You don’t really need to compress the images prior to uploading, but it will help a lot if you could resize the image to an optimal size before uploading them, for example, 1920x1080px. Resizing the images before uploading will result in smaller thumbnails in terms of file size. If you want to manually compress the images after resizing, please check the online tools that we linked above. You can test it first with the video thumbnail to see if you get a better result.
Best regards,
Ismael
Hi,
We just logged in to the site and noticed that the size of the fallback image (see private field) is overly large (4032x3024px), around 3MB. Even after compression, the size is still 551.97 KB, which is still large for an image of that size and aspect ratio. Please resize the image to around 1920x1080px, then upload it again. If you can run the image through an image compression tool before uploading, you should expect a much better result. Uploading a pre-compressed and resized image will result in thumbnails with much smaller file sizes.
The file was compressed from 3.08 MB to 551.97 KB, saving 82.52 percent, using WP-Optimize
Online image compression tools:
// https://imagecompressor.com/
// https://compressjpeg.com/
Best regards,
Ismael
Hi,
ok, quite complicated for me…
in fact I do just want to remove one of the template I did by mistake (Meinung template) and my 2. question is more relevant:
The template I built (Meinung_seite) is not showing the content (title / blog) it should:
See: https://jmbuettner.ch/meinung/?preview_id=101&preview_nonce=c38b70099c&preview=true&_thumbnail_id=559
the same content is visible if I to set the page on standart template.
What do I have to change to use my own template for the blog?
regards
Dominic
Hi,
Try this function instead:
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 'fullsize';
}
Best regards,
Mike
Hi
2 questions
1: how / where do I delete page template on the template list?
2. A template I built is not showing the content (title / blog) it should: Meinung Seite ist the template name.
See: https://jmbuettner.ch/meinung/?preview_id=101&preview_nonce=c38b70099c&preview=true&_thumbnail_id=559
the same content is visible if I to set the page on standart template.
please note that php has been modified by you on my request for full content of blog (see last thread).
regards
Dominic
Hi,
Add this css code to adjust the layout of the tag pages:
#top.tag .no_margin.av_one_third {
float: none;
margin-right: 2%;
width: 31%;
margin-bottom: 2%;
}
#top.tag .grid-sort-container {
display: flex;
flex-wrap: wrap;
flex-direction: row;
}
#top.tag .grid-entry-title.entry-title {
font-size: 1.2em;
padding: 10px 13px;
}
Then add this code in the functions.php file to adjust the image thumbnail:
add_filter("avf_post_slider_args", function($atts, $context) {
if( $context == "tag" ) {
$atts['type'] = 'grid';
$atts['preview_mode'] = 'custom';
$atts['image_size'] = 'full';
}
return $atts;
}, 10, 2);
If you have any additional questions at this time we kindly ask that you open them up in a separate thread. The longer threads get in the forum, they become more difficult to support as they tend to drift off topic and they also make it troublesome for users trying to search for solutions. Keeping threads relevant to their original inquiry ensures that we can keep better track of what has been resolved and that users can more effectively find answers to similar issues they might be experiencing.
Thanks!
Best regards,
Ismael
Hey Angelo,
Thank you for the inquiry.
In the EN version, you may need to edit the Text Block containing the embedded attachment and manually adjust the image URL.
<a href="https://www.site.it/wp-content/uploads/2022/07/23-495x400.jpg" class="lightbox-added" style="position: relative; overflow: hidden; display: block;">
<img
decoding="async"
aria-describedby="caption-attachment-18987"
class="wp-image-11154 size-portfolio"
title="Toward Stafal"
src="https://www.site.it/wp-content/uploads/2022/07/23-495x400.jpg"
alt="Toward Stafal"
width="495"
height="400"
srcset="https://www.site.it/wp-content/uploads/2022/07/23-495x400.jpg 495w, https://www.site.it/wp-content/uploads/2022/07/23-845x684.jpg 845w"
sizes="(max-width: 495px) 100vw, 495px"
/>
<span class="image-overlay overlay-type-image" style="left: -5px; top: 0px; overflow: hidden; display: block; height: 409.062px; width: 513px;"><span class="image-overlay-inside"></span></span>
</a>
Currently, it is linked to this thumbnail:
https://www.site.it/wp-content/uploads/2022/07/23-495x400.jpg
Whereas the IT version links to the original version of the image:
https://www.site.it/wp-content/uploads/2022/07/23.jpg
Best regards,
Ismael