if lazy load is enabled, < tag display is remove.
-
if lazy load is enabled, php’s <? tag -> ?.
< tag is removed.
help me. Please~!
View post on imgur.com
-
As this looks like a more in-depth issue, I think we would need to see your system info. Can you copy the system info from the support tab of the plugin settings and either share it here or contact us directly and send it in via email:
EWWW\Base::__construct()
plugin (resource) content_url: C:\xampp\htdocs\test\wp-content/ewww/
plugin (resource) content_dir: C:\xampp\htdocs\test\wp-content/ewww/
home url: https://127.0.0.1/test/
relative home url: //127.0.0.1/test/
home domain: 127.0.0.1
EWWW\Plugin::instance()
EWWW\Backup::__construct()
EWWW\Local::__construct()
EWWW\Local::exec_check()
EWWW\Local::skip_tools()
enabled: cwebp
enabled: jpegtran
enabled: optipng
enabled: pngquant
EWWW\Plugin::cloud_init()
ewww_image_optimizer_init()
checking active plugins
EWWW\Lazy_Load::__construct()
EWWW\Base::content_url()
site/upload url: https://127.0.0.1/test
site/upload domain: 127.0.0.1
upload_url: https://127.0.0.1/test/wp-content/uploads/
request uri is EWWW IO settings
is_admin
EWWW\JS_Webp::__construct()
EWWW\Base::content_url()
site/upload url: https://127.0.0.1/test
site/upload domain: 127.0.0.1
upload_url: https://127.0.0.1/test/wp-content/uploads/
request uri is EWWW IO settings
is_admin
EWWW\Tracking::schedule_send()
ewww_image_optimizer_upgrade()
EWWW\Plugin::register_settings()
EWWW\Plugin::cloud_init()
EWWW\Plugin::exec_init()
ewww_image_optimizer_cron_setup()
EWWW\Plugin::tool_init()
EWWW\Local::install_tools()
Checking/Installing tools in C:\xampp\htdocs\test\wp-content/ewww/
EWWW\Local::skip_tools()
enabled: cwebp
enabled: jpegtran
enabled: optipng
enabled: pngquant
wp-content/ewww permissions: 0777
EWWW\Local::install_paths()
generated paths:
C:\xampp\htdocs\test\wp-content\plugins\ewww-image-optimizer/binaries/jpegtran.exe
C:\xampp\htdocs\test\wp-content\plugins\ewww-image-optimizer/binaries/optipng.exe
C:\xampp\htdocs\test\wp-content\plugins\ewww-image-optimizer/binaries/gifsicle.exe
C:\xampp\htdocs\test\wp-content\plugins\ewww-image-optimizer/binaries/pngquant.exe
C:\xampp\htdocs\test\wp-content\plugins\ewww-image-optimizer/binaries/cwebp.exe
C:\xampp\htdocs\test\wp-content/ewww/jpegtran.exe
C:\xampp\htdocs\test\wp-content/ewww/optipng.exe
C:\xampp\htdocs\test\wp-content/ewww/gifsicle.exe
C:\xampp\htdocs\test\wp-content/ewww/pngquant.exe
C:\xampp\htdocs\test\wp-content/ewww/cwebp.exe
ewww_image_optimizer_bulk_script()
ewww_image_optimizer_tool_script()
ewww_image_optimizer_webp_script()
ewww_image_optimizer_settings_script()
EWWW\Base::content_url()
site/upload url: https://127.0.0.1/test
site/upload domain: 127.0.0.1
upload_url: https://127.0.0.1/test/wp-content/uploads/
ewww_image_optimizer_easy_site_registered()
EWWW\Plugin::notice_utils()
EWWW\Local::exec_check()
EWWW\Local::check_all_tools()
EWWW\Local::check_tool()
EWWW\Local::find_win_binary()
found C:\xampp\htdocs\test\wp-content/ewww/cwebp.exe, testing…
EWWW\Local::check_integrity()
C:\xampp\htdocs\test\wp-content/ewww/cwebp.exe: 2849fd06012a9eb311b02a4f8918ae4b16775693bc21e95f4cc6a382eac299f9
checksum verified, binary is intact
EWWW\Local::test_binary()
testing case: cwebp at "C:\xampp\htdocs\test\wp-content/ewww/cwebp.exe"
"C:\xampp\htdocs\test\wp-content/ewww/cwebp.exe": 1.2.0
optimizer found
using: "C:\xampp\htdocs\test\wp-content/ewww/cwebp.exe"
EWWW\Local::check_tool()
EWWW\Local::find_win_binary()
found C:\xampp\htdocs\test\wp-content/ewww/jpegtran.exe, testing…
EWWW\Local::check_integrity()
C:\xampp\htdocs\test\wp-content/ewww/jpegtran.exe: 39096e3dd3d9c375de23e5d6ac2c4e0000c994d768d9de5c60680a1d5b99cb7b
checksum verified, binary is intact
EWWW\Local::test_binary()
testing case: jpegtran at "C:\xampp\htdocs\test\wp-content/ewww/jpegtran.exe"
"C:\xampp\htdocs\test\wp-content/ewww/jpegtran.exe": Independent JPEG Group's JPEGTRAN, version 9d 12-Jan-2020
optimizer found
using: "C:\xampp\htdocs\test\wp-content/ewww/jpegtran.exe"
EWWW\Local::check_tool()
EWWW\Local::find_win_binary()
found C:\xampp\htdocs\test\wp-content/ewww/optipng.exe, testing…
EWWW\Local::check_integrity()
C:\xampp\htdocs\test\wp-content/ewww/optipng.exe: 6a321e07eca8e28fa8a969b5db3c1d3cc008a2064d636cf74762bbe4364b7b14
checksum verified, binary is intact
EWWW\Local::test_binary()
testing case: optipng at "C:\xampp\htdocs\test\wp-content/ewww/optipng.exe"
"C:\xampp\htdocs\test\wp-content/ewww/optipng.exe": OptiPNG version 0.7.7
optimizer found
using: "C:\xampp\htdocs\test\wp-content/ewww/optipng.exe"
EWWW\Local::check_tool()
EWWW\Local::find_win_binary()
found C:\xampp\htdocs\test\wp-content/ewww/pngquant.exe, testing…
EWWW\Local::check_integrity()
C:\xampp\htdocs\test\wp-content/ewww/pngquant.exe: 7aadad6a50aa5c40cfcb20f9478c92f6030360a3424bc262ce383dc1e97fb86a
checksum verified, binary is intact
EWWW\Local::test_binary()
testing case: pngquant at "C:\xampp\htdocs\test\wp-content/ewww/pngquant.exe"
"C:\xampp\htdocs\test\wp-content/ewww/pngquant.exe": 2.17.0 (September 2021)
optimizer found
using: "C:\xampp\htdocs\test\wp-content/ewww/pngquant.exe"
ewww_image_optimizer_options()
ewww_image_optimizer_savings()
savings query avoided via (single-site) cache
SYSTEM
EWWW IO version: 721
WP version: 6.0
PHP version: 80015
libxml version: 20910
core plugin
ABSPATH: C:\xampp\htdocs\test/
WP_CONTENT_DIR: C:\xampp\htdocs\test/wp-content
EWWWIO_CONTENT_DIR: C:\xampp\htdocs\test\wp-content/ewww/
home url (Site URL): https://127.0.0.1/test
site url (WordPress URL): https://127.0.0.1/test
wp_upload_dir (baseurl): https://127.0.0.1/test/wp-content/uploads
wp_upload_dir (basedir): C:\xampp\htdocs\test/wp-content/uploads
content_width: 640
registered stream wrappers: php,file,glob,data,http,ftp,zip,compress.zlib,compress.bzip2,https,ftps,phar
not external cache
EWWW\Base::gd_support()
GD found, supports:
GD Version: bundled (2.1.0 compatible)
FreeType Support: 1
FreeType Linkage: with freetype
GIF Read Support: 1
GIF Create Support: 1
JPEG Support: 1
PNG Support: 1
WBMP Support: 1
XPM Support: 1
XBM Support: 1
WebP Support: 1
BMP Support: 1
TGA Read Support: 1
JIS-mapped Japanese Font Support:
EWWW\Base::gmagick_support()
EWWW\Base::imagick_support()
EWWW\Base::gd_supports_webp()
EWWW\Base::gd_support()
imageistruecolor() missing
sorry nope
EWWW\Base::imagick_supports_webp()
EWWW\Base::imagick_support()
sorry nope
0 images have been optimized
automatic compression enabled
remove metadata: on
jpg level: 10
png level: 40
gif level: 0
pdf level: 0
svg level: 0
bulk delay:
backup mode:
cloudinary upload: off
ExactDN enabled: off
ExactDN all the things: on
ExactDN lossy: 1
ExactDN resize existing: off
ExactDN attachment queries: on
Easy IO exclusions: add missing dimensions: off
lazy load: on
ewwwio_other_lazy_detected()
LL autoscale: on
LQIP: off
S(VG)IIP: off
external CSS background (all things):
LL exclusions: optipng level: 2
pngout disabled: yes
pngout level: 2
svgcleaner disabled: yes
ewww_image_optimizer_jpg_quality()
quality: 95
configured quality: 92
ewww_image_optimizer_jpg_quality()
quality: 95
effective quality: 92
ewww_image_optimizer_webp_quality()
webp quality: 95
effective WebP quality: 92
sharpen: no
background optimization: on
scheduled optimization: off
include media library: off
include originals: off
folders to optimize: folders to ignore: skip images smaller than: bytes
skip PNG images larger than: bytes
exclude originals from lossy: off
exclude originals from metadata removal: off
use system binaries: no
resize detection: off
max media dimensions: 2280 x 0
max other dimensions: x
resize existing images: on
resize existing (non-media) images: off
ewww_image_optimizer_get_image_sizes()
sizes: thumbnail
medium
medium_large
large
1536x1536
2048x2048
post-thumbnail
Array
(
[thumbnail] => Array
(
[width] => 640
[height] => 0
[crop] =>
)
[medium] => Array
(
[width] => 1140
[height] => 0
[crop] =>
)
[medium_large] => Array
(
[width] => 768
[height] => 9999
[crop] =>
)
[large] => Array
(
[width] => 2280
[height] => 0
[crop] =>
)
[1536x1536] => Array
(
[width] => 1536
[height] => 1536
[crop] =>
)
[2048x2048] => Array
(
[width] => 2048
[height] => 2048
[crop] =>
)
[post-thumbnail] => Array
(
[width] => 1568
[height] => 9999
[crop] =>
)
[pdf-full] => Array
(
[width] => 99999
[height] => 99999
[crop] =>
)
) disabled sizes:
thumbnail: optimization=+ creation=+
medium: optimization=+ creation=+
medium_large: optimization=+ creation=X
large: optimization=+ creation=+
1536x1536: optimization=+ creation=X
2048x2048: optimization=+ creation=X
post-thumbnail: optimization=+ creation=X
pdf-full: optimization=+ creation=X
delete originals: on
jpg2png: off
png2jpg: off
gif2png: off
png2jpg fill:
ewww_image_optimizer_jpg_background()
webp conversion: on
js webp rewriting: on
picture webp rewriting: off
WebP Rewrite exclusions: webp paths: forced webp: on
forced gif2webp: off
enable help beacon: no
origin (SERVER_ADDR): 127.0.0.1
checking 127.0.0.1 from gethostbyname
not a Cloudflare host: 127.0.0.1
max_execution_time: 3600
ewww_image_optimizer_stl_check()
set_time_limit allowed
disable_functions:
sleep allowed
detected memory limit is: 1073741824Check please.
-
This reply was modified 1 year, 4 months ago by
userlogout.
The plugin copies src to data-src, however, before it does that it runs esc_url() on the URL, which is going to remove any “<” characters. Given that, the only way to not do that would be to not “escape” or not clean the URLs before putting them in, which isn’t something we will do. So, all of that to say that unfortunately there won’t be a way to use our lazy loader with that functionality.
Thank you for your answer.
Then could you tell me where to do esc_url? (php file)
If you teach me, I’ll add “if” and customize it.
Or is there a phrase to add to function.php?Is it this code?
-
This reply was modified 1 year, 3 months ago by
userlogout.
-
This reply was modified 1 year, 3 months ago by
userlogout.
-
This reply was modified 1 year, 3 months ago by
userlogout.
Thank you for supporting me. I solved the problem
-
This reply was modified 1 year, 4 months ago by
- The topic ‘if lazy load is enabled, < tag display is remove.’ is closed to new replies.