Ad images not displaying due to srcset missing

[ad_1]

Hey there,

Encountering this weird issue where the HTML generated by adrotate is missing the srcset value. It looks like this:

<picture>
			<source media="(min-width: 768px)" data-srcset="
			/wp-content/banners/clearwater-leaderboard-1200x300.gif 1200w,
			/wp-content/banners/clearwater-leaderboard-2400x600.gif 2400w">
		
			<img class="img-fluid lazyload blur-up" loading="lazy" alt="Clearwater" data-srcset="
				/wp-content/banners/clearwater-400x400.gif 400w,
				/wp-content/banners/clearwater-800x800.gif 800w" width="2400" height="600">
		</picture>

Images don’t load, only the alt text shows. If I manually inspect and rename data-srcset to srcset, the images show up!

I’m guessing this is supposed to be done automatically via javascript, but it’s not clear to me what to do to fix that when there’s no errors showing in the console log.

Thoughts?

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer