URL - rewriting for offloaded images is breaking the images
-
I currently have issues using laytheme together with wp-offload, that offloads images to was: This suddenly stopped working in one of the latest versions of laytheme: Pictures are offloaded properly and appear in the editor without any issues: But when shown on the webpage, the images are missing.
I tracked this down to an url-rewrite for responsive images in
<img class="lay-image-responsive lazyload entered loaded-error".... >: While the original URL of the image wasthe rewriting for the responsiveness adds a www in front, ending up with:
https://www.s3.eu-central-1.amazonaws.com/cdn.vierundsechzig.de/f64/wp-content/uploads/2023/09/03165318/01-selection-15.jpg
which breaks the images. Is there a switch for that somewhere, to make sure lay does not add a www in front?!
thx for any help!
Stefan -
sure
i just installed the plugin myself and fixed it
will release the update later today
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it