Blocs 6 not correct generate path to webp images

Hello,

Blocs 6 is amazing, thanks!

I have make test gallery which located in subfolder and find what blocs not correct generate path for webp images. It generate path only to root folder. In my case it is srcset=“img/19487_02.webp but must be srcset=”…/…/img/19487_02.webp

Sample code from project below:

<picture>
	<source type="image/webp" srcset="img/19487_02.webp">
		<img id="lightbox-image" class="img-fluid mx-auto img-protected" src="../../img/19487_02.jpg" style="display: block;">
</picture>
1 Like

Might be a bug, is this to a light box image on a clean url page?

Yes, correct

1 Like

Ok I’ve noted it down, I’ll follow this up tomorrow. Thanks for the heads up.

1 Like

Just a quick update on this. The issue is patched and ready for Mondays 6.0.2 release.

Sorry for the delay.

1 Like