Zesen Huang
Forum Replies Created
-
Now everything is clear, thanks!
It would be good if things are explained in the backend though.
- Delete Originals: mark that if custom dimensions are set it won’t work.
- If possible, add a Delete Backup tool in the admin as well to delete that image-backup folder.
anyway, thanks for your explanations
thanks for the quick response!
After some examinations on another site, I did notice that there are some images in the original media folders which contain the ‘-scaled’ string in them, and after clicking on the “Delete Originals” button they are gone, as you said.
However I also went ahead and did some tests:
- Keep “Backup Originals” On Local.
- Upload an oversized image.
- Check the original media folder, there are 6 images (different dimensions) here, where the full-sized one gets resized down down to the dimension I specified in EWWW. No problem here.
- However, what I think should happen is, the full-sized file should actually be named ‘XXX-scaled.jpg’, and WP should keep the original oversized ‘XXX.jpg’ here in this folder as well, right? (so that when we click “Delete Originals”, the oversized ones will be removed) But there is not. They are not here in the first place.
- I then check the ewww image-backup folder, also, there are 6 images here. Now, the full-sized file is indeed that oversized file, and the other 5 thumbnails files are all slightly larger than the ones in the original media folder. (since these are the ‘original’ copies which did not get optimized)
- I click “Delete Originals”, all 12 images are unaffected.
In summary, I can simply keep “Backup Originals” off, and there wouldn’t be too many confusions. But I still want you to know this potential issue here. If I feel like the entire software makes sense, I would then buy it and add it to my stack. I like EWWW, but I still don’t think I fully understand how it works yet.
System Info:
EWWW\Base::__construct() plugin (resource) content_url: https://secowind.in_work.senze.co/wp-content/ewww/ plugin (resource) content_dir: /home/wwwroot/secowind.in_work.senze.co/wp-content/ewww/ home url: https://secowind.in_work.senze.co/ relative home url: //secowind.in_work.senze.co/ home domain: secowind.in_work.senze.co EWWW\Plugin::instance() EWWW\Backup::__construct() EWWW\Local::__construct() EWWW\Local::exec_check() EWWW\Local::skip_tools() enabled: gifsicle enabled: jpegtran enabled: optipng EWWW\Plugin::cloud_init() plugins_compat() checking active plugins ewww_image_optimizer_init() EWWW\Lazy_Load::__construct() EWWW\Base::content_url() site/upload url: https://secowind.in_work.senze.co site/upload domain: secowind.in_work.senze.co upload_url: https://secowind.in_work.senze.co/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 /home/wwwroot/secowind.in_work.senze.co/wp-content/ewww/ EWWW\Local::skip_tools() enabled: gifsicle enabled: jpegtran enabled: optipng CPU architecture: x86_64 wp-content/ewww permissions: 0755 EWWW\Local::install_paths() CPU architecture: x86_64 generated paths: /home/wwwroot/secowind.in_work.senze.co/wp-content/plugins/ewww-image-optimizer/binaries/jpegtran-linux /home/wwwroot/secowind.in_work.senze.co/wp-content/plugins/ewww-image-optimizer/binaries/optipng-linux /home/wwwroot/secowind.in_work.senze.co/wp-content/plugins/ewww-image-optimizer/binaries/gifsicle-linux /home/wwwroot/secowind.in_work.senze.co/wp-content/plugins/ewww-image-optimizer/binaries/pngquant-linux /home/wwwroot/secowind.in_work.senze.co/wp-content/plugins/ewww-image-optimizer/binaries/cwebp-linux /home/wwwroot/secowind.in_work.senze.co/wp-content/ewww/jpegtran /home/wwwroot/secowind.in_work.senze.co/wp-content/ewww/optipng /home/wwwroot/secowind.in_work.senze.co/wp-content/ewww/gifsicle /home/wwwroot/secowind.in_work.senze.co/wp-content/ewww/pngquant /home/wwwroot/secowind.in_work.senze.co/wp-content/ewww/cwebp Linux/UNIX style OS, checking permissions EWWW\Local::check_permissions() permissions for /home/wwwroot/secowind.in_work.senze.co/wp-content/ewww/jpegtran: 0755 permissions ok EWWW\Local::check_permissions() permissions for /home/wwwroot/secowind.in_work.senze.co/wp-content/ewww/gifsicle: 0755 permissions ok EWWW\Local::check_permissions() permissions for /home/wwwroot/secowind.in_work.senze.co/wp-content/ewww/optipng: 0755 permissions ok 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://secowind.in_work.senze.co site/upload domain: secowind.in_work.senze.co upload_url: https://secowind.in_work.senze.co/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_nix_binary() checking bundled tool found /home/wwwroot/secowind.in_work.senze.co/wp-content/ewww/gifsicle, testing... EWWW\Local::check_integrity() /home/wwwroot/secowind.in_work.senze.co/wp-content/ewww/gifsicle: 205abe804d1060375f713d990c45b0285cbc4b56226da1612e9f1d2d2e2c5369 checksum verified, binary is intact EWWW\Base::mimetype() testing mimetype: /home/wwwroot/secowind.in_work.senze.co/wp-content/ewww/gifsicle 7f454c46 ewwwio type: application/x-executable EWWW\Local::test_binary() testing case: gifsicle at /home/wwwroot/secowind.in_work.senze.co/wp-content/ewww/gifsicle /home/wwwroot/secowind.in_work.senze.co/wp-content/ewww/gifsicle: LCDF Gifsicle 1.93 optimizer found using: /home/wwwroot/secowind.in_work.senze.co/wp-content/ewww/gifsicle EWWW\Local::check_tool() EWWW\Local::find_nix_binary() checking bundled tool found /home/wwwroot/secowind.in_work.senze.co/wp-content/ewww/jpegtran, testing... EWWW\Local::check_integrity() /home/wwwroot/secowind.in_work.senze.co/wp-content/ewww/jpegtran: c0a44f6f16ddc78d8d027ffd3e09c512d637876833c5ffaaf5b1e7acd5ce3cda checksum verified, binary is intact EWWW\Base::mimetype() testing mimetype: /home/wwwroot/secowind.in_work.senze.co/wp-content/ewww/jpegtran 7f454c46 ewwwio type: application/x-executable EWWW\Local::test_binary() testing case: jpegtran at /home/wwwroot/secowind.in_work.senze.co/wp-content/ewww/jpegtran /home/wwwroot/secowind.in_work.senze.co/wp-content/ewww/jpegtran: Independent JPEG Group's JPEGTRAN, version 9d 12-Jan-2020 optimizer found using: /home/wwwroot/secowind.in_work.senze.co/wp-content/ewww/jpegtran EWWW\Local::check_tool() EWWW\Local::find_nix_binary() checking bundled tool found /home/wwwroot/secowind.in_work.senze.co/wp-content/ewww/optipng, testing... EWWW\Local::check_integrity() /home/wwwroot/secowind.in_work.senze.co/wp-content/ewww/optipng: 4404076a4f9119d4dfbb7acb00eb65345e804186a019c7136d8f8e87fb0cb997 checksum verified, binary is intact EWWW\Base::mimetype() testing mimetype: /home/wwwroot/secowind.in_work.senze.co/wp-content/ewww/optipng 7f454c46 ewwwio type: application/x-executable EWWW\Local::test_binary() testing case: optipng at /home/wwwroot/secowind.in_work.senze.co/wp-content/ewww/optipng /home/wwwroot/secowind.in_work.senze.co/wp-content/ewww/optipng: OptiPNG version 0.7.7 optimizer found using: /home/wwwroot/secowind.in_work.senze.co/wp-content/ewww/optipng ewww_image_optimizer_options() ewww_image_optimizer_savings() savings query avoided via (single-site) cache www EWWW IO version: 740 WP version: 6.5.2 PHP version: 80022 libxml version: 20901 core plugin ABSPATH: /home/wwwroot/secowind.in_work.senze.co/ WP_CONTENT_DIR: /home/wwwroot/secowind.in_work.senze.co/wp-content EWWWIO_CONTENT_DIR: /home/wwwroot/secowind.in_work.senze.co/wp-content/ewww/ home url (Site URL): https://secowind.in_work.senze.co site url (WordPress URL): https://secowind.in_work.senze.co wp_upload_dir (baseurl): https://secowind.in_work.senze.co/wp-content/uploads wp_upload_dir (basedir): /home/wwwroot/secowind.in_work.senze.co/wp-content/uploads content_width: 1200 registered stream wrappers: https,ftps,compress.zlib,php,file,glob,data,http,ftp,phar,zip items in media queue: 0 items in (single) image queue: 0 items in attachment update queue: 0 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: 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 EWWW\Local::exec_check() EWWW\Local::find_nix_binary() checking bundled tool EWWW\Local::test_binary() testing case: nice at nice nice: 0 nice found 7295 images have been optimized automatic compression enabled remove metadata: off jpg level: 10 png level: 10 gif level: 10 pdf level: 0 svg level: 0 bulk delay: 0 backup mode: 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() configured quality: 82 ewww_image_optimizer_jpg_quality() effective quality: 82 ewww_image_optimizer_webp_quality() effective WebP quality: 75 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: 1920 x 1920 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 Array ( [thumbnail] => Array ( [width] => 200 [height] => 200 [crop] => 1 ) [medium] => Array ( [width] => 600 [height] => 600 [crop] => ) [medium_large] => Array ( [width] => 768 [height] => 9999 [crop] => ) [large] => Array ( [width] => 1024 [height] => 1024 [crop] => ) [1536x1536] => Array ( [width] => 1536 [height] => 1536 [crop] => ) [2048x2048] => Array ( [width] => 2048 [height] => 2048 [crop] => ) [pdf-full] => Array ( [width] => 99999 [height] => 99999 [crop] => ) ) disabled sizes: thumbnail: optimization=+ creation=+ medium: optimization=+ creation=+ medium_large: optimization=+ creation=+ large: optimization=+ creation=+ 1536x1536: optimization=+ creation=+ 2048x2048: optimization=+ creation=+ pdf-full: optimization=+ creation=+ delete originals: off jpg2png: off png2jpg: off gif2png: off png2jpg fill: ewww_image_optimizer_jpg_background() webp conversion: off js webp rewriting: off picture webp rewriting: off WebP Rewrite exclusions: webp paths: forced webp: off forced gif2webp: on enable help beacon: no origin (SERVER_ADDR): 122.114.59.197 checking 122.114.59.197 from gethostbyname not a Cloudflare host: 122.114.59.197 max_execution_time: 30 ewww_image_optimizer_stl_check() set_time_limit allowed disable_functions: passthru,system,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv sleep allowed detected memory limit is: 268435456