2017 © Pedro Peláez
 

wordpress-plugin wordpress-plugin

Speed up your website. Optimize your JPEG and PNG images automatically with TinyPNG.

image

tinify/wordpress-plugin

Speed up your website. Optimize your JPEG and PNG images automatically with TinyPNG.

  • Tuesday, July 31, 2018
  • by tinify
  • Repository
  • 11 Watchers
  • 56 Stars
  • 24 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 26 Forks
  • 5 Open issues
  • 29 Versions
  • 20 % Grown

The README.md

Build Status, (*1)

TinyPNG - JPEG, PNG & WebP image compression for WordPress

Make your website faster by optimizing your JPEG, PNG, and WebP images., (*2)

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/., (*3)

Learn more about TinyJPG and TinyPNG at https://tinypng.com/., (*4)

Contact us

Got questions or feedback? Let us know! Contact us at support@tinypng.com., (*5)

Information for plugin contributors

Prerequisites

  • 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

  1. Run bin/run-wordpress <version>. E.g. bin/run-wordpress 60.
  2. Connect to Wordpress on port 80<version> (e.g. port 8060).

Running the unit tests

  1. Run bin/unit-tests <optional path to file>.

Running the integration tests

  1. Install Docker 1.12 and docker-compose.
  2. Run bin/integration-tests <version>. E.g. bin/integration-tests 60.

Check if the code follows WordPress standard

  1. Run bin/check-style to make sure there are no errors.

Test XML-RPC code

WordPress can either be used via the web interface or through the official WordPress apps for mobile devices. WordPress uses XML-RPC internally to communicate between the app and the WordPress admin. Make sure therefore that when developing functionality that is linked to functionality available in the mobile app that it also works over XML-RPC., (*6)

Translating the plugin

Language packs will be generated for the plugin once translations for a language are 100% filled in and approved., (*7)

See https://translate.wordpress.org/projects/wp-plugins/tiny-compress-images., (*8)

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:, (*9)

  1. Install gettext for example run brew install gettext.
  2. Add a link msgfmt ln -s /usr/local/Cellar/gettext/0.19.7/bin/msgfmt ~/.bin.
  3. Generate the .mo files bin/format-language-files.

When finished modifying, you can upload the changes to the SVN trunk. Within roughly 15 minutes WordPress will be updated and allow to add missing translations before publishing the new plugin release., (*10)

License

Copyright (C) 2015-2023 Tinify B.V., (*11)

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., (*12)

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., (*13)

View the complete license., (*14)

The Versions

31/07 2018

dev-master

9999999-dev

Speed up your website. Optimize your JPEG and PNG images automatically with TinyPNG.

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires

plugin

31/07 2018

3.0.0

3.0.0.0

Speed up your website. Optimize your JPEG and PNG images automatically with TinyPNG.

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires

plugin

30/07 2018

dev-travis-integration-tests

dev-travis-integration-tests

Speed up your website. Optimize your JPEG and PNG images automatically with TinyPNG.

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires

plugin

26/07 2018

dev-non-blocking-compressions

dev-non-blocking-compressions

Speed up your website. Optimize your JPEG and PNG images automatically with TinyPNG.

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires

plugin

21/09 2017

2.2.6

2.2.6.0

Speed up your website. Optimize your JPEG and PNG images automatically with TinyPNG.

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires

plugin

15/09 2017

2.2.5

2.2.5.0

Speed up your website. Optimize your JPEG and PNG images automatically with TinyPNG.

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires

plugin

13/07 2017

2.2.4

2.2.4.0

Speed up your website. Optimize your JPEG and PNG images automatically with TinyPNG.

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires

plugin

15/06 2017

2.2.3

2.2.3.0

Speed up your website. Optimize your JPEG and PNG images automatically with TinyPNG.

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires

plugin

24/02 2017

2.2.2

2.2.2.0

Speed up your website. Optimize your JPEG and PNG images automatically with TinyPNG.

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires

plugin

31/01 2017

2.2.1

2.2.1.0

Speed up your website. Optimize your JPEG and PNG images automatically with TinyPNG.

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires

plugin

30/01 2017

2.2.0

2.2.0.0

Speed up your website. Optimize your JPEG and PNG images automatically with TinyPNG.

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires

plugin

18/10 2016

dev-rating

dev-rating

Speed up your website. Optimize your JPEG and PNG images automatically with TinyPNG.

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires

plugin

09/09 2016

2.1.0

2.1.0.0

Speed up your website. Optimize your JPEG and PNG images automatically with TinyPNG.

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires

plugin

18/07 2016

2.0.2

2.0.2.0

Speed up your website. Optimize your JPEG and PNG images automatically with TinyPNG.

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires

plugin

16/07 2016

2.0.1

2.0.1.0

Speed up your website. Optimize your JPEG and PNG images automatically with TinyPNG.

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires

plugin

15/07 2016

2.0.0

2.0.0.0

Speed up your website. Optimize your JPEG and PNG images automatically with TinyPNG.

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires

plugin

11/04 2016

1.7.2

1.7.2.0

Speed up your website. Optimize your JPEG and PNG images automatically with TinyPNG.

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires

plugin

01/04 2016

1.7.1

1.7.1.0

Speed up your website. Optimize your JPEG and PNG images automatically with TinyPNG.

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires

plugin

23/02 2016

1.7.0

1.7.0.0

Speed up your website. Optimize your JPEG and PNG images automatically with TinyPNG.

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires

plugin

24/12 2015

1.6.0

1.6.0.0

Speed up your website. Optimize your JPEG and PNG images automatically with TinyPNG.

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires

plugin

24/11 2015

1.5.0

1.5.0.0

  Sources   Download

The Requires

 

The Development Requires

30/10 2015

1.4.0

1.4.0.0

  Sources   Download

The Requires

 

The Development Requires

06/10 2015

1.3.2

1.3.2.0

  Sources   Download

The Requires

 

The Development Requires

05/06 2015

1.3.1

1.3.1.0

  Sources   Download

The Requires

 

The Development Requires

19/05 2015

1.3.0

1.3.0.0

  Sources   Download

The Requires

 

The Development Requires

11/04 2015

1.2.1

1.2.1.0

  Sources   Download

The Requires

 

The Development Requires

10/04 2015

1.2.0

1.2.0.0

  Sources   Download

The Requires

 

The Development Requires

16/03 2015

1.1.0

1.1.0.0

  Sources   Download

The Requires

 

The Development Requires

12/02 2015

1.0.0

1.0.0.0

  Sources   Download

The Requires

 

The Development Requires