Title: &#8220;false&#8221; string added to src attribute
Last modified: March 6, 2021

---

# “false” string added to src attribute

 *  Resolved [gsurowiec](https://wordpress.org/support/users/gsurowiec/)
 * (@gsurowiec)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/false-string-added-to-src-attribute/)
 * 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/**false**wp-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](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/false-string-added-to-src-attribute/#post-14143122)
 * Hi,
 * Could you please provide the report number ?
 * you can get it in toolbox -> report -> click “send to LiteSpeed”
 * Best regards,
 *  Thread Starter [gsurowiec](https://wordpress.org/support/users/gsurowiec/)
 * (@gsurowiec)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/false-string-added-to-src-attribute/#post-14145145)
 * 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](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/false-string-added-to-src-attribute/#post-14146452)
 * 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.

 * ![](https://ps.w.org/litespeed-cache/assets/icon-256x256.png?rev=2554181)
 * [LiteSpeed Cache](https://wordpress.org/plugins/litespeed-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/litespeed-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/litespeed-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/litespeed-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/litespeed-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/litespeed-cache/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * Last activity: [5 years, 3 months ago](https://wordpress.org/support/topic/false-string-added-to-src-attribute/#post-14146452)
 * Status: resolved