Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • I commented string with number 400 and i don’t have any errors. I don’t know this is right or wrong, but it’s working

    $replaceHTML = preg_replace( '/<img(.*?)srcset=/is', '<img$1srcset="" data-srcset=', $replaceHTML );

    • This reply was modified 7 years, 2 months ago by xelontmp.
    • This reply was modified 7 years, 2 months ago by xelontmp.
    • This reply was modified 7 years, 2 months ago by xelontmp.

    I have same problem. I think problem in file class-a3-lazy-load.php

    				$replaceHTML = '';
    				$replaceHTML = preg_replace( '/<img(.*?)src=/is', '<img$1src="' . $this->_placeholder_url . '" data-lazy-type="image" data-src=', $imgHTML );
    				$replaceHTML = preg_replace( '/<img(.*?)srcset=/is', '<img$1srcset="" data-srcset=', $replaceHTML );
    

    But what to do next, I have not come up with.

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