about lozy load image




Wordpress LScache Plugin: about lozy load image

Last Updated on: Wed, 15 Apr 2026 00:00:02
hi when i enable lozy load image my revolution slider image will be not show and check chrome error code Access to image at https://img.sj3c.com.tw/uploads/revslider/wine2/icon-intel-9th-i7.jpg from origin https://www.sj3c.com.tw has been blocked by CORS policy: No Access-Control-Allow-Origin header is present on the requested resource. icon-intel-9th-i7.jpg:1 Failed to load resource: net::ERR_FAILED (index):1 Access to image at https://img.sj3c.com.tw/uploads/revslider/wine2/GE65Raider-1.png from origin https://www.sj3c.com.tw has been blocked by CORS policy: No Access-Control-Allow-Origin header is present on the requested resource. GE65Raider-1.png:1 Failed to load resource: net::ERR_FAILED (index):1 Access to image at https://img.sj3c.com.tw/uploads/2019/10/GP65_NOBACK_500-1.png from origin https://www.sj3c.com.tw has been blocked by CORS policy: No Access-Control-Allow-Origin header is present on the requested resource. GP65_NOBACK_500-1.png:1 Failed to load resource: net::ERR_FAILED (index):1 A cookie associated with a cross-site resource at http://doubleclick.net/ was set without the SameSite attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with SameSite=None and Secure. You can review cookies in developer tools under Application>Storage>Cookies and see more details at https://www.chromestatus.com/feature/5088147346030592 and https://www.chromestatus.com/feature/5633521622188032. 0a29b.js:172 Uncaught TypeError: Failed to execute serializeToString on XMLSerializer: parameter 1 is not of type Node. at Object.success (0a29b.js:172) at i (jquery.js:2) at Object.fireWith [as resolveWith] (jquery.js:2) at y (jquery.js:4) at XMLHttpRequest.c (jquery.js:4) if i disable lozy load image it ok please help me! The page I need help with: http://sj3c.com.tw Hi @richkelven, as revolution slider has their own method for loading the images, please try to use their lazy load function and exclude the image from our plugin. i try exclude the image in litespeed ,but it not work any other way not to lazy load revolution slider all Hi @richkelven, according to the error message, the solution is transferring your site to https. Its a server-level setting, do you know how to do it? I resolved it use 2 step 1. add /wp-content/plugins/revslider/public/assets/assets/dummy.png to litespeed Exclude Lazy Load images 2. add a code to .haccess #Access-Control-Allow-Origin # ---------------------------------------------------------------------- SetEnvIf Origin http(s)?://(www .)?(fonts.gstatic.com|my-Domain)$ AccessControlAllowOrigin=$0 Header add Access-Control-Allow-Origin % AccessControlAllowOrigin e env=AccessControlAllowOrigin Header merge Vary Origin #Access-Control-Allow-Origin end please remember my-Domain change your Domain Thank you Hello, Are you planning to implement a new native lazy loading attribute loading=lazy in some future release? Best regards.



LiteCache Rush: Speed comes from using less, not from doing it faster



Reference