This topic has 4 replies, 3 voices, and was last updated 7 months, 3 weeks ago ago by Andrew Mitchell
Hello,
Here : https://www.vins-ribeauville.com/exposition-giueseppe-livio/
The picture in the header is not showing up…. its showing up only on preview… why ?
I cant see a svg is loading instead the picture…
Thank you
Hi @Mazzella,
The lazyload image of WP-Rocket plugin is causing the issue.
We’ve added the following code under functions.php file locates in your child theme to disable the lazyload on single posts and the images are now appearing:
function deactivate_on_single_post() {
// Disable LazyLoad for images on a 'post' post type singular template.
if ( is_singular( 'post' ) ) {
add_filter( 'do_rocket_lazyload', '__return_false' );
add_filter( 'do_rocket_lazyload_iframes', '__return_false' );
}
}
add_filter( 'wp', __NAMESPACE__ . '\deactivate_on_single_post' );
Fore more information, please take a look at this article: https://docs.wp-rocket.me/article/16-disable-lazyload-on-specific-posts
Could you please clear the cache and check again?
Thank you!
thank you so much!
Dear Mazzella,
As we continue our mission to exceed expectations, your insights become increasingly valuable. Could we, with all due respect, request your thoughtful feedback by giving our theme a deserved 5-star rating on ThemeForest?
Click here to share your valuable perspective: https://themeforest.net/downloads
Your time and trust are highly appreciated!
Best Regards,
The 8Theme Team
The issue related to '‘News single picture is not showing up !!!’' has been successfully resolved, and the topic is now closed for further responses