GitHub | Documentation | Changelog | Support
Takopic optimises the images of your media library with the libraries of your own server: jpegoptim, optipng or oxipng, pngquant, cwebp and avifenc, or GD and Imagick for the WebP and AVIF formats. Free and unlimited, no API key, no quota: your images never leave your server.
<picture> element, or from the server with rewrite rules (Apache, nginx).takopic_image() and takopic_image_sources() give the <picture> of an image or its srcsets, in your own templates.wp takopic run, clean, restore, stats and health.All of them are documented in the README on GitHub.
uploads/takopic/originals-{key}/, under a key drawn at random for each site. Takopic closes the folder to the web with a .htaccess on Apache and LiteSpeed; on nginx, add the rules of the Delivery tab. Test the delivery checks it on both.takopic_backup_dir filter, before optimising any image. Takopic does not move the originals already kept: move the folder yourself when you change it.Takopic is developed by Clément Gayot.
It started as a fork of Squidge, created by Ainsley Clark in 2021 with contributions from Roman K, Rohinish and karbivskij, and was largely rewritten in 2026. Many thanks to them for the foundations: the idea of relying on the native libraries of the server comes from Squidge.
Thanks also to Media Optimizer by YooHW for some ideas: the menu, the delivery page, the display of the bytes saved, and more.