I am running multi-site wordpress with lazy load plugin installed for many years. A problem happens recently. I do not install any new plugins for many years. Therefore I believe that the problem should not be related with plugin.
Here’s my problem (when view in PC with Firefox, Chrome okay):
Many images (over 50%) are not loading in some multi-site, no grey box, just empty, as if not exist. These sites were created for some years. They used to work properly before.
Very strange, the other multi-sites do not have this problem.
Any ideas to solve this problem?
Thanks and best regards
Alex
]]>https://www.ads-software.com/plugins/basic-user-avatars/
]]>My images when referenced from CSS don’t load from the child theme but rather from the parent theme. Here is what the URL looks like when inspected thru the developer tools:
/wp-content/themes/twentythirteen/images/menu-bg.png
I use the following rule:
background: url('images/menu-bg.png');
The folder structure of the child theme is:
/twentythirteen-child/images/ – the same as the parent theme.
The functions.php is the same as the recommended from the codex:
add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );
function theme_enqueue_styles() {
wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
}
I’ve also tried the second snippet:
add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );
function theme_enqueue_styles() {
wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
wp_enqueue_style( 'child-style',
get_stylesheet_directory_uri() . '/style.css',
array('parent-style')
);
}
, but the result is the same. How to get the path to the image, except using ../twentythirteen-child/images ? Is there a way or I should do it like this?
Thank you for the assistance
my site’s images not load at all . plz take a look at this page:
https://honda-wave.com/2014/04/17/suzuki-raider-150cc-king-underbone/
These pictures not load when i view the page but it load well when i “Edit Post”
this is the only site have this problem inside my 6 sites WPMU
other site works well like : https://charcoalkiln.com/adam-retort-improved-charcoal-production-system/
It make me confused and wonder where to fix cause all my 6 websites have same setting, plugins, themes …
Please let me know if you have any ideas to fix it
Many thanks
]]>