[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$f_Wcwl-1nPTdWh74BliMrTSYd1C92QpCHvohhqW1Cgsg":3},{"slug":4,"display_name":5,"profile_url":6,"plugin_count":7,"total_installs":8,"avg_security_score":9,"avg_patch_time_days":10,"trust_score":11,"computed_at":12,"plugins":13},"raffaelj","Raffael Jesche","https:\u002F\u002Fprofiles.wordpress.org\u002Fraffaelj\u002F",1,20,92,30,88,"2026-04-05T02:25:09.053Z",[14],{"slug":15,"name":16,"version":17,"author":5,"author_profile":6,"description":18,"short_description":19,"active_installs":8,"downloaded":20,"rating":21,"num_ratings":7,"last_updated":22,"tested_up_to":23,"requires_at_least":24,"requires_php":25,"tags":26,"homepage":32,"download_link":33,"security_score":9,"vuln_count":34,"unpatched_count":34,"last_vuln_date":35,"fetched_at":36},"another-simple-image-optimizer","Another simple image optimizer","0.3.0","\u003Cp>Automatically optimize uploaded images (jpg, png, gif, webp, svg, avif) using the \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fspatie\u002Fimage-optimizer\" rel=\"nofollow ugc\">Spatie image-optimizer library\u003C\u002Fa> and binary files on your host system.\u003C\u002Fp>\n\u003Cp>New uploaded images with all image sizes (thumbnails) will be optimized automatically.\u003C\u002Fp>\n\u003Cp>Previously uploaded images can be updated in two ways:\u003C\u002Fp>\n\u003Col>\n\u003Cli>Use the command line interface (cli) and run \u003Ccode>wp media regenerate\u003C\u002Fcode>, which also triggers the optimization chain. If you don’t have cli access, some other plugin, that regenerates existing thumbnails should work, too (not tested, yet).\u003C\u002Fli>\n\u003Cli>The media library has a new column “File size” in the list view, which displays the new and the old file size. If an image is not optimized, there is a link named “Optimize” to run the optimizer directly.\u003C\u002Fli>\n\u003C\u002Fol>\n\u003Cp>\u003Cstrong>Warning:\u003C\u002Fstrong> Images are replaced with the optimized ones. Create a backup before testing this plugin. If this is a deal-breaker for you, don’t use it.\u003C\u002Fp>\n\u003Cp>\u003Cstrong>Important:\u003C\u002Fstrong> If the needed binary files aren’t installed, this plugin won’t optimize anything. Don’t use it, if you don’t know, how to install them or if your web hoster doesn’t provide them.\u003C\u002Fp>\n\u003Cp>\u003Cstrong>Notice:\u003C\u002Fstrong> WordPress has no support for SVG files. Technically this plugin can optimize them, but I didn’t run any tests with plugins, that add SVG support to WordPress. I was able to optimize svg files automatically in a local test setup (see \u003Ca href=\"https:\u002F\u002Fcodeberg.org\u002Fraffaelj\u002Fwordpress-another-simple-image-optimizer\u002Fsrc\u002Fbranch\u002Fmain\u002Ftests\u002Fprepare-and-run-tests.sh\" rel=\"nofollow ugc\">\u003Ccode>prepare-and-run-tests.sh\u003C\u002Fcode> in the tests folder\u003C\u002Fa> and search for \u003Ccode>enable_svg_avif_upload\u003C\u002Fcode>).\u003C\u002Fp>\n\u003Cp>For more information and notes about development, checkout the \u003Ca href=\"https:\u002F\u002Fcodeberg.org\u002Fraffaelj\u002Fwordpress-another-simple-image-optimizer\u002Fsrc\u002Fbranch\u002Fmain\u002FREADME.md\" rel=\"nofollow ugc\">project README.md file on Codeberg\u003C\u002Fa>\u003C\u002Fp>\n\u003Ch3>Requirements\u003C\u002Fh3>\n\u003Cul>\n\u003Cli>PHP function \u003Ccode>proc_open\u003C\u002Fcode> must be enabled (some web hosts disable it via \u003Ccode>php.ini\u003C\u002Fcode>)\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch3>Settings\u003C\u002Fh3>\n\u003Cp>Quality settings can be adjusted with constants in \u003Ccode>wp-config.php\u003C\u002Fcode>:\u003C\u002Fp>\n\u003Cp>Set quality for resizing images (GD\u002FImagick)\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\u003Ccode>define('ASIO_RESIZE_QUALITY_JPEG', 100); \u002F\u002F default: 82\u003C\u002Fcode>\u003C\u002Fli>\n\u003Cli>\u003Ccode>define('ASIO_RESIZE_QUALITY_WEBP', 100); \u002F\u002F default: 86\u003C\u002Fcode>\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>Set quality of optimizers\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\u003Ccode>define('ASIO_QUALITY_JPEGOPTIM', 90); \u002F\u002F default: 85\u003C\u002Fcode>\u003C\u002Fli>\n\u003Cli>\u003Ccode>define('ASIO_QUALITY_PNGQUANT',  90); \u002F\u002F default: 85\u003C\u002Fcode>\u003C\u002Fli>\n\u003Cli>\u003Ccode>define('ASIO_QUALITY_CWEBP',     85); \u002F\u002F default: 90\u003C\u002Fcode>\u003C\u002Fli>\n\u003Cli>\u003Ccode>define('ASIO_QUALITY_AVIFENC',   70); \u002F\u002F default: 63\u003C\u002Fcode>\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch3>Optimization tools\u003C\u002Fh3>\n\u003Cp>Spatie image-optimizer will use these optimizers if they are present on your system:\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Ftjko\u002Fjpegoptim\" rel=\"nofollow ugc\">JpegOptim\u003C\u002Fa>\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"http:\u002F\u002Foptipng.sourceforge.net\u002F\" rel=\"nofollow ugc\">Optipng\u003C\u002Fa>\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"https:\u002F\u002Fpngquant.org\u002F\" rel=\"nofollow ugc\">Pngquant 2\u003C\u002Fa>\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fsvg\u002Fsvgo\" rel=\"nofollow ugc\">SVGO 1\u003C\u002Fa>\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"http:\u002F\u002Fwww.lcdf.org\u002Fgifsicle\u002F\" rel=\"nofollow ugc\">Gifsicle\u003C\u002Fa>\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"https:\u002F\u002Fdevelopers.google.com\u002Fspeed\u002Fwebp\u002Fdocs\u002Fprecompiled\" rel=\"nofollow ugc\">cwebp\u003C\u002Fa>\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002FAOMediaCodec\u002Flibavif\u002Fblob\u002Fmain\u002Fdoc\u002Favifenc.1.md\" rel=\"nofollow ugc\">avifenc\u003C\u002Fa>\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>At least jpegoptim and optipng should be installed.\u003C\u002Fp>\n\u003Cp>You can find information about how to install the binary files in the \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fspatie\u002Fimage-optimizer#optimization-tools\" rel=\"nofollow ugc\">Spatie image-optimizer README.md file\u003C\u002Fa>.\u003C\u002Fp>\n","Automatically optimize uploaded images using the Spatie image-optimizer library and binary files on your host system (e. g. jpegoptim, optipng)",1723,100,"2025-02-01T15:44:00.000Z","6.7.5","5.9","8.1",[27,28,29,30,31],"compression","image","jpegoptim","optimization","optipng","https:\u002F\u002Fcodeberg.org\u002Fraffaelj\u002Fwordpress-another-simple-image-optimizer","https:\u002F\u002Fdownloads.wordpress.org\u002Fplugin\u002Fanother-simple-image-optimizer.0.3.0.zip",0,null,"2026-03-15T15:16:48.613Z"]