Compress JPEG & PNG images for WordPress
Make your website faster by optimizing your JPEG and PNG images.
This plugin automatically optimizes your images by integrating with the popular image compression services TinyJPG and TinyPNG. You can download the plugin from https://wordpress.org/plugins/tiny-compress-images/.
Learn more about TinyJPG and TinyPNG at https://tinypng.com/.
Got questions or feedback? Let us know! Contact us at firstname.lastname@example.org.
Information for plugin contributors
- A working Docker 1.12+ and Docker Compose installation (https://docs.docker.com/installation/).
- Composer (https://getcomposer.org/download/).
- PhantomJS 2.1 or greater (http://phantomjs.org).
- MySQL client and admin tools.
Running the plugin in WordPress
bin/run-wordpress <version>. E.g.
- Connect to Wordpress on port
Running the unit tests
bin/unit-tests <optional path to file>.
Running the integration tests
- Install Docker 1.12 and docker-compose.
bin/integration-tests <version>. E.g.
Translating the plugin
Language packs will be generated for the plugin once translations for a language are 100% filled in and approved.
For development you may create .po and .mo files for a each language. The .mo files can be created with gettext. Install gettext and generate the .mo language file do the following:
- Install gettext for example run
brew install gettext.
- Add a link msgfmt
ln -s /usr/local/Cellar/gettext/0.19.7/bin/msgfmt ~/.bin.
- Generate the .mo files
Copyright (C) 2015-2016 Voormedia B.V.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.