You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Speed up your website. Optimize your JPEG and PNG images automaticallywith TinyPNG.
11
+
Speed up your website. Optimize your JPEG and PNG images automaticallywith TinyPNG.
12
12
13
13
== Description ==
14
14
15
-
Make your website faster by compressing your JPEG and PNG images. This plugin automatically optimizes your images by integrating with the popular image compression services TinyJPG and TinyPNG.
15
+
Make your website faster by optimizing your JPEG and PNG images. This plugin automatically optimizes all your images by integrating with the popular image compression services TinyJPG and TinyPNG.
16
16
17
17
= Features =
18
18
19
-
* Automatically compress new images on upload.
20
-
* Compress individual images already in your media library.
21
-
* Easy bulk compression of your existing media library.
19
+
* Automatically optimize new images on upload.
20
+
* Optimize individual images already in your media library.
21
+
* Easy bulk optimization of your existing media library.
22
22
* Resize large original images by setting a maximum width and/or height.
23
-
* Select which thumbnail sizes of an image may be compressed.
23
+
* Select which thumbnail sizes of an image may be optimized.
24
24
* Multisite support with a single API key.
25
-
* Color profiles are translated to the standard RGB color space.
26
-
* See your usage directly from the media settings and during bulk compression.
25
+
* See your usage from the media settings and during bulk optimization.
26
+
* Color profiles are automatically translated to the standard RGB color space.
27
27
* Convert CMYK to RGB to save more space and maximize compatibility.
28
-
* Compress and resize uploads with the WordPress mobile app.
28
+
* Optimize and resize uploads with the WordPress mobile app.
29
29
* No file size limits.
30
30
31
31
= How does it work? =
32
32
33
-
After you upload an image to your WordPress site, each resized image is uploaded to the TinyJPG or TinyPNG service. Your image is analyzed to apply the best possible compression. Based on the content of your image an optimal strategy is chosen. The result is sent back to your WordPress site and will replace the original image with one smaller in size. On average JPEG images are compressed by 40-60% and PNG images by 50-80% without visible loss in quality. Your website will load faster for your visitors, and you’ll save storage space and bandwidth!
33
+
After you upload an image to your WordPress site, each resized image is uploaded to the TinyJPG or TinyPNG service. Your image is analyzed to apply the best possible optimization. Based on the content of your image an optimal strategy is chosen. The result is sent back to your WordPress site and will replace the original image with one smaller in size. On average JPEG images are compressed by 40-60% and PNG images by 50-80% without visible loss in quality. Your website will load faster for your visitors, and you’ll save storage space and bandwidth!
34
34
35
35
= Getting started =
36
36
37
-
Install this plugin and obtain your free API key from https://tinypng.com/developers. With a free account you can compress **roughly 100 images each month** (based on a regular WordPress installation). The exact number depends on the number of thumbnail sizes you use. You can change which of the generated thumbnail sizes should be compressed, because each one of them counts as a compression. And if you’re a heavy user, you can compress more images for a small additional fee per image.
37
+
Install this plugin and obtain your free API key from https://tinypng.com/developers. With a free account you can optimize **roughly 100 images each month** (based on a regular WordPress installation). The exact number depends on the amount of thumbnails you use. You can change which of the generated thumbnail sizes should be optimized in the *Settings > Media* page. If you’re a heavy user you can optimize more images for a small additional fee per image.
38
38
39
39
= Multisite support =
40
40
@@ -46,59 +46,59 @@ Got questions or feedback? Let us know! Contact us at support@tinypng.com or fin
46
46
47
47
= Contributors =
48
48
49
-
Want to contribute? Checkout our [GitHub page](https://github.com/tinify/wordpress-plugin).
49
+
Want to contribute? Check out the [Tinify Wordpress plugin on GitHub](https://github.com/tinify/wordpress-plugin).
50
50
51
51
== Installation ==
52
52
53
53
= From your WordPress dashboard =
54
54
55
-
1. Visit 'Plugins > Add New'.
56
-
2. Search for 'tinypng' and press the Install Now button for the plugin named 'Compress JPEG & PNG images' by 'TinyPNG'.
57
-
3. Activate the plugin from your Plugins page.
55
+
1. Visit *Plugins > Add New*.
56
+
2. Search for 'tinypng' and press the 'Install Now' button for the plugin named 'Compress JPEG & PNG images' by 'TinyPNG'.
57
+
3. Activate the plugin from your *Plugins* page.
58
58
4. Register for an API key on https://tinypng.com/developers.
59
-
5. Configure the API key in the Settings -> Media page.
60
-
6. Upload an image and see it be compressed!
59
+
5. Configure the API key in the *Settings > Media* page.
60
+
6. Upload an image and see the optimization in action!
61
61
62
62
= From WordPress.org =
63
63
64
-
1. Download the plugin name 'Compress JPEG & PNG images' by 'TinyPNG'.
65
-
2. Upload the 'tiny-compress-images' directory to your '/wp-content/plugins/' directory, using your favorite method (ftp, sftp, scp, etc...)
64
+
1. Download the plugin named 'Compress JPEG & PNG images' by 'TinyPNG'.
65
+
2. Upload the `tiny-compress-images` directory to your `/wp-content/plugins/` directory, using your favorite method (ftp, sftp, scp, etc...)
66
66
3. Activate the plugin from your Plugins page.
67
67
4. Register for an API key on https://tinypng.com/developers.
68
-
5. Configure the API key in the Settings -> Media page.
69
-
6. Upload an image and see it be compressed!
68
+
5. Configure the API key in the *Settings > Media* page.
69
+
6. Upload an image and see the optimization in action!
70
70
71
71
= Optional configuration =
72
72
73
-
The API key can also be configured in wp-config.php. You can add a TINY_API_KEY constant with your API key. Once set up you will see a message on the media settings page. This will work for normal and multisite WordPress installations.
73
+
The API key can also be configured in wp-config.php. You can add a `TINY_API_KEY` constant with your API key. Once set up you will see a message on the media settings page. This will work for normal and multisite WordPress installations.
74
74
75
75
== Screenshots ==
76
76
77
-
1. Enter your TinyPNG or TinyJPG API key and configure the image sizes you would like to have compressed.
78
-
2. See how much space TinyPNG has saved you from the media browser and compress additional sizes per image.
79
-
3. Bulk compress existing images after installing the plugin or when additional sizes have to be compressed.
80
-
4. Show progress while bulk compressing (selection from) media library.
81
-
5. Bulk compress complete media library.
77
+
1. Enter your TinyPNG or TinyJPG API key and configure the image sizes you want to optimize.
78
+
2. In the Media Library you can see how much bytes TinyPNG has saved you. You can also compress additional sizes per image.
79
+
3. Optimize all images in bulk after installing the plugin or when additional sizes have to be optimized.
80
+
4. Showing progress during bulk optimization from media library.
81
+
5. Bulk optimization of all images through the Media > Optimize Images page.
82
82
83
83
== Frequently Asked Questions ==
84
84
85
-
= Q: How many images can I compress for free? =
86
-
A: In a default Wordpress installation you can compress around 100 images for free each month. WordPress creates different thumbnails of your images which all have to be compressed. Some plugins even add more sizes, so take a look at the Settings > Media page before you start compressing.
85
+
= Q: How many images can I optimize for free? =
86
+
A: In a default Wordpress installation you can optimize around 100 images for free each month. WordPress creates different thumbnails of your images which all have to be compressed. Some plugins even add more sizes, so take a look at the *Settings > Media* page before you start optimization.
87
87
88
-
= Q: What happens to the compressed images when I uninstall the plugin? =
89
-
A: When you remove the TinyPNG plugin all your compressed images will remain compressed.
88
+
= Q: What happens to the optimized images when I uninstall the plugin? =
89
+
A: When you remove the TinyPNG plugin all your optimized images will remain optimized.
90
90
91
91
= Q: I don't recall uploading 500 photos this month but my limit is already reached. How is this number calculated? =
92
-
A: When you upload an image to your website, WordPress will create different sized versions of it (see Settings > Media). The plugin will compress each of these sizes, so when you have 100 images and 5 different sizes you will do 500 compressions.
92
+
A: When you upload an image to your website, WordPress will create different sized versions of it (see *Settings > Media*). The plugin will compress each of these sizes, so when you have 100 images and 5 different sizes you will do 500 compressions.
93
93
94
94
= Q: Is there a file size limit? =
95
95
A: No. There are no limitations on the size of the images you want to compress.
96
96
97
-
= Q: What happens when I reach my monthly compression limit? =
98
-
A: Everything will keep on working, but newly uploaded images will not be compressed. Of course we encourage everyone to sign up for a full subscription.
97
+
= Q: What happens when I reach my monthly limit? =
98
+
A: Everything will keep on working, but newly uploaded images will not be optimized. Of course we encourage everyone to sign up for a full subscription.
99
99
100
-
= Q: Can I compress all existing images in my media library? =
101
-
A: Yes! After installing the plugin, go to Media > Compress All Images, and click on the button to compress all uncompressed images in your media library.
100
+
= Q: Can I optimize all existing images in my media library? =
101
+
A: Yes! After installing the plugin, go to *Media > Optimize Images*, and click on the button to optimize all unoptimized images in your media library.
@@ -269,7 +269,7 @@ public function bulk_compress_page() {
269
269
$items = $wpdb->get_results("SELECT ID, post_title FROM $wpdb->posts WHERE post_type = 'attachment' AND post_mime_type LIKE 'image/%' $cond ORDER BY ID DESC", ARRAY_A);
270
270
271
271
echo'<p>';
272
-
esc_html_e('Please be patient while the images are being compressed, it can take a while if you have many images. Do not navigate away from this page because it will stop the process.', 'tiny-compress-images');
272
+
esc_html_e('Please be patient while the images are being optimized, it can take a while if you have many images. Do not navigate away from this page because it will stop the process.', 'tiny-compress-images');
273
273
echo'</p><p>';
274
274
esc_html_e('You will be notified via this page when the processing is done.', 'tiny-compress-images');
0 commit comments