• Resolved gsurowiec

    (@gsurowiec)


    Today I installed the plugin, configured it.
    I wanted to try the lazy loading option.
    Unfortunately the pictures were not loading.

    The string false is appended to the beginning of the src tag of each image

    src = “https: //domain.com/falsewp-content/uploads/…”

    I temporarily modified the placeholder.cls.php file
    function: replace ($ html, $ src, $ size)
    line: 177

    “$html = str_replace (‘<img’, ‘<img data-lazyloaded =” 1 “‘. $additional_attr. ‘src =”‘. str_replace (‘false’, ”, $ this_placeholder). ‘”‘, $ html);

    Now the pictures are loading correctly.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support qtwrk

    (@qtwrk)

    Hi,

    Could you please provide the report number ?

    you can get it in toolbox -> report -> click “send to LiteSpeed”

    Best regards,

    Thread Starter gsurowiec

    (@gsurowiec)

    I found the reason for the error.

    URL “/wp-admin/admin.php?page=litespeed-cdn”
    Section “CDN Settings”
    Element “CDN URL” was set “false”.

    I did not enter any values there.
    I tested it on another instance and the value false is entered automatically.

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    yes, that was a bug in CDN setting with “false” is automatically inserted.

    disable CDN feature or remove the “false” should fix it

    Best regards,

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘“false” string added to src attribute’ is closed to new replies.