Image compression plugin: Better images with TinyPNG’s WordPress Plugin

A fast-loading website is more important than ever. It leads to more conversions and a better user experience. Compressed images have a big influence on that. If you have a WordPress website and want to speed up loading times, the TinyPNG WordPress plugin might be helpful. But what exactly is this image compression plugin and how can you speed up your WordPress website by compressing your pictures?

Why compress images?

Optimizing the size of your images is crucial for ensuring a fast and efficient website. Large image files are one of the biggest reasons behind slow websites as many website owners overlook the size of their images when they upload them into their WordPress websites. While they may look good on the page, this isn’t enough to guarantee the best user experience.

At the same time, the size of your images impacts your SEO, as faster websites rank higher in search results, which results in more visitors and conversions. 

Some experts recommend that your images shouldn’t be more than 1MB, but Shopify advises users to keep image files under 70KB. 

Additionally, as a rule of thumb, your website shouldn’t take more than 3 seconds to load as 40% of users will immediately leave it.

Before you keep on reading, you can use Tinify’s Analyzer to discover how much time you can save on page loading by compressing your images.

Does WordPress automatically compress images?

You might be wondering, does WordPress automatically compress images? The answer is yes, but only to a certain extent. WordPress does compress pictures upon upload, but this default compression might not be sufficient for optimal performance and could make images blurry. To prevent this, an image compression plugin comes in handy.

The image on the right illustrates how WordPress automatically reduces the size of your uploaded pictures by changing the resolution to “Large.” However, this makes the image look quite blurry. If you choose “Full size,” you will notice a clear difference. In this way, a better solution is to select “Full Size” and use a specific image compression plugin to maintain high quality.

Why use an image compression plugin for WordPress?

Having a lot of images on your website takes time to load. A simple way to decrease the loading time of your website is to compress images. An image compression plugin for WordPress can further reduce the file sizes of your images beyond the default compression WordPress provides. This ensures your website loads quickly, improving both SEO and user experience.

For websites made in WordPress, Tinify has an image compression plugin for WordPress that can help you optimize your JPEG, PNG, and WebP images. 

How does the TinyPNG WordPress plugin work?

Your website’s images are compressed through Tinify’s API service to reduce file sizes. The optimization process is tailored to each image, ensuring the best results. Once compressed, the smaller images are sent back to your WordPress site, replacing the originals. 

On average, JPEG images are compressed by 40-60% and PNG images by 50-80% with no visible quality loss. This leads to faster loading times and significant savings in storage space and bandwidth. Every day, roughly three million images are optimized by Tinify!

How to compress images in WordPress

The TinyPNG WordPress plugin allows you to reduce the size of images using the Bulk Optimization tool or by manually selecting them. 

Additionally, it offers 3 options for handling newly optimized images: optimize after upload, optimize during upload, or not compress at all. The last option is ideal for website development to avoid unnecessary compressions.

The image compression plugin allows you to compress 500 images each month for free. The exact total depends on the number of thumbnail sizes that are in use in your WordPress installation. That means that with a standard WordPress installation, you can optimize roughly 100 images each month for free. 

Features of TinyPNG’s image compression plugin for WordPress

  • Optimize images as you upload them
  • Improve single images in your media library
  • Quickly optimize all images in your library
  • Resize large images upon upload for better display
  • Speed up JPEG image loading with progressive encoding
  • Keep copyright info and other data in original images
  • Compress animated PNG files
  • Pick which image sizes to optimize

If you’re looking for a straightforward solution, the TinyPNG WordPress plugin is the way to go. According to our users, TinyPNG is easier to use than other plugins. “It does the job” is common feedback – that and “I love the panda!”. Moreover, users appreciate the convenience of avoiding subscriptions in case they surpass the free monthly limit of 500 compressions. Instead, they can easily pay for additional images for a minimal cost.

It may sound like TinyPNG only helps in reducing file size, but if you think about the Technical SEO side of the website, it helps to improve both page loading speed and PageSpeed Insights scores.”

How to install the TinyPNG WordPress plugin?

The image compression plugin is easy to install on your WordPress website. Instructions are listed on this page. Once installed, you can also switch to a paid account which removes limits and allows you to optimize as many images as you like. 

1. Install the plugin and create an account
Begin by installing the TinyPNG plugin on your WordPress site. Once installed, go to Settings and click on “Compress JPEG & PNG images”. Follow the instructions to create an account. 

2. Select when newly uploaded images should be compressed
You have the option to decide how the plugin should handle newly uploaded images. There are three available options to choose from:

  • Option 1: Compress new images in the background (recommended)
    This is the fastest method for image compression and involves automatically compressing your images in the background. However, please note that this option can potentially cause issues with some image plugins.
  • Option 2: Compress new images during upload
    The second option is to compress new images during upload. This option takes a bit longer but provides higher compatibility with other plugins.
  • Option 3: Do not compress new images automatically
    Lastly, you can also choose not to compress new uploads automatically. In this case, you can manually select the images you want to compress in the Media Library. This is also the recommended option while doing development work on your website.

3. Select image sizes to be compressed
When you upload an image to your WordPress website, WordPress automatically generates different thumbnail versions of it, which can be seen in the Settings > Media section. 

The TinyPNG plugin will compress each of these different sizes of images, which means that if you have 100 images and 5 different sizes, the plugin will perform 500 compressions. To manage which image sizes get generated and compressed by the plugin, uncheck any image sizes that you don’t want to use or compress with the plugin. This allows you to customize the plugin according to your preferences and optimize only the images that are important for your website.

4. Resizing of original images
In addition to image compression, the plugin also provides the ability to resize your original images, which can save storage space. Resizing your images involves setting a maximum width and height for all images uploaded to your website. This process takes one additional compression for each image that is larger than the specified dimensions.

5. Preserving metadata
Lastly, the plugin also allows you to preserve certain metadata. If you do not select any metadata to preserve, all data will be removed during the compression process. However, if you want to preserve certain metadata, you can select the specific data that you wish to keep.

6. Save settings
After making changes to your plugin settings, it’s important to save your changes to ensure that they are applied to your website. To save your settings, simply click the “Save Changes” button at the bottom of the Settings page.

How to measure the impact of image optimization on blog performance

To understand the full impact of image optimization on your WordPress website, it’s essential to track various performance metrics. Here are some key metrics to focus on:

  1. Page load time: A critical metric that directly affects user experience and SEO.
  2. Bounce rate: The percentage of visitors who leave your site after viewing only one page.
  3. Average session duration: The average time a visitor spends on your site.
  4. Conversion Rates: The percentage of visitors who complete a desired action, such as signing up for a newsletter or making a purchase.

To measure these, you can record your current performance metrics using tools like Google Analytics, GTmetrix, and Pingdom. If you are using TinyPNG, the plugin provides a dashboard showing the total savings and compression statistics, helping you monitor the effectiveness of your optimization efforts.

Once you use an image compression plugin for WordPress like TinyPNG to reduce the file size of your images, you can track the same metrics to see the improvements. Compare page load times, bounce rates, session duration, and conversion rates before and after optimization.

Based on the data, make further adjustments. If certain pages are still slow, check for other factors like server speed or unoptimized code. Continuously monitor and refine your optimization strategy to maintain optimal performance.

Testimonial: LearnWorlds improved blog speed with Tinify

LearnWorlds, an online learning platform, had trouble with slow-loading blog pages due to high-resolution images. They tried free tools at first, but they didn’t work well. They used Tinify to automatically compress large images without losing quality, making their web pages load faster:

1. Improved performance: Image sizes were reduced to less than 1 MB, making the website faster and improving Google search rankings.
2. SEO benefits: Faster loading times helped with SEO, leading to better search engine rankings.
3. Easy workflow: Tinify made the optimization process smoother, saving time and fitting well into their workflow.
4. Cost-effective: Tinify was a cost-effective tool for compressing 500 to 1000 images per month.

“In many cases, we are getting very high-resolution images from our design department to upload to the blog. This would mean articles with >3 MB of images if we were to use those.”

Nick Malekos, SEO Manager at LearnWorlds

Conclusion: TinyPNG WordPress plugin in short

The TinyPNG WordPress plugin is a great tool for optimizing your website’s performance by compressing images. It improves page load times, user experience, and SEO without sacrificing quality. 

Whether you have a big website or a personal blog, this plugin is easy to use and seamlessly integrates with WordPress. It offers features like automatic compression, bulk optimization, and customizable settings for metadata and resizing. 

Start enjoying faster and more efficient image handling on your website by installing the TinyPNG plugin today. If you have any questions about the plugin or feedback, let us know at support@tinypng.com, or find us on Twitter or LinkedIn.

Use an image compressor API for better and faster website load time

An Developer API is a quick solution to compress a lot of images on your website in no time. Instead of manually uploading all your photos within an online compression tool, an API can do it all at once. It saves you a lot of time and besides, compressed images make your page speed way faster. It has a positive influence on how long users will stay on your webpage. But what is an API and how can you compress images with it?

Looking for an image size reducer? Learn 5 techniques to better optimize large images beyond compression

“Make PNG smaller”, “how to compress JPEG to 50KB”, and “image size reducer” are a few of the things users type to find a way to compress large images into small ones. However, there is more that users can do than compress their images. While this is key – after all, that’s what Tinify is about! – there are other ways to make sure your images are the smallest size possible.

Large images can slow down your website, which may lead to a negative user experience and even lower search engine rankings. While this may sound obvious, it is common for new bloggers and inexperienced website users to overlook this. The excitement of seeing our little corner of the internet come to life can make us blind to more technical points – like whether our website is taking two seconds more to load than what is recommended. 

So, if your website visitors are first presented with a loading symbol before accessing your content, keep on reading!

Let’s go over some tips and techniques for optimizing large image files to ensure that your website stays fast – including using an image size reducer:

  1. Use the right image format
  2. Use the right image dimensions
  3. Compress your images with Tinify’s image size reducer tool
  4. Convert your images to WebP
  5. Use lazy loading and image caching

“Panda promise” that this will work!

Use the right image format

The first step in optimizing large image files is to choose the right image format. The reason for this is that image formats make a big difference in terms of file size. For example, PNGs end up being larger in size than JPEGs. That’s why JPEG, the most common image format, is the best choice for photographs, while PNG should be used for web graphics, logos, charts, and illustrations, particularly because it handles transparent backgrounds.

Knowing these differences will help you save your images in the right format, which will ensure your website isn’t populated with image formats that are larger than necessary.

Use the right image dimensions: resize and crop images

Another factor that can affect the size of an image file is its dimensions. It’s usual for new website owners to overlook the size of their images, but with this, they might end up uploading too many large images.

Since most websites only display images at a specific size, find out the recommended sizes and resize your images according to them. For example, if you want to upload a header image to WordPress, your image doesn’t need to be larger than 1048×250 pixels. In the end, resizing decreases the file size even further, which will make your website load faster. 

You can resize and crop your images with built-in software on your computer. For Windows users, you can check this link for instructions on how to resize images using Paint. For macOS users, you can use Preview – learn how to here.

If you’re a technical user, you can sign-up for Tinify’s Developer API, which gives you the chance to resize your images within your code, as well as smart cropping options.

Use an image size reducer: Compress your images with Tinify

Another effective way to optimize large image files is to compress them. Image size reducer tools compress the file size of an image by removing unnecessary data and reducing the number of colors. Compression tools are quite effective at reducing the size of large images without any noticeable loss in quality.

According to the e-commerce platform Shopify, a good rule of thumb is to keep your image file size below 70KB. This can be difficult to achieve with large images, and that is why they recommend using image size reducer tools, like Tinify.

You can use Tinify as your go-to image size reducer tool.

While some compression tools give you the chance to choose the level of compression, Tinify’s algorithm is designed to optimize images to their fullest extent at the click of a button. So, when you upload an image to Tinify, we will analyze each image, and based on this, the best optimization level will automatically be determined. There’s so much website owners have to worry about that it’s important for us that they can save time in the process of optimizing their pictures.

If you have a website, you can use Tinify’s analyzer to discover how much loading time you’ll save by compressing your images.

To compress them, you can drop them directly to Tinify’s homepage and upload the compressed image back to your website. Free users have a limit of 5MB per image, but if you find yourself stuck with larger images, you can take advantage of our Web Pro subscription. For WordPress users and developers, there’s an easier way to compress images. All you have to do is to create a Tinify API account, and all your images will automatically be optimized for free up to 500 compressions. 

Convert your images to WebP

Okay, perhaps now your website loads faster than ever – no loading symbol to exhaust your visitors! However, when you add your website to Google’s web analyzer, you realize that more can be done to optimize your images… Like converting them to next-gen image formats. Unlike JPEG and PNG, next-gen image formats were created for web use, which means they’re smaller in size to load faster. 

One example of this is WebP, created by Google. It is similar to JPEG and PNG, but it can produce smaller image file sizes while maintaining the same quality. In this way, you can replace your PNG and JPEG images with WebP to cut even more on loading time. The downside is that this image format only works in modern browsers (Chrome, Firefox, Edge, Opera, etc), so you need to have a fallback option for Internet Explorer and older browsers. 

You can convert your images to WebP online or with Photoshop, and compress them after with Tinify. If you’re a technical user, you can take a look at Tinify’s API to automatically convert your PNG, JPEG, and WebP images. We hope to make this feature available to browser users later this year.

Use lazy loading and image caching

Once you’ve optimized your images, you can also implement a few things on your website to make them load in the best possible way. 

One trick is to implement lazy loading, a technique that delays the loading of images until they are needed. In other words, you can use lazy loading to defer the loading of images until the user scrolls down to the part of the page where they’re displayed. This can improve the initial loading time of the page and reduce the amount of data that needs to be transferred over the network. 

To implement lazy loading, you can use a lazy loading plugin or JavaScript libraries, such as LazyLoad, Lozad.js, and unveil.js. You can also use HTML attributes: the loading attribute can be used to specify the loading behavior of images. The attribute can be set to lazy which will only load the image when it comes into view. This is a native browser feature and is supported by most modern browsers. All in all, these tools allow you to specify which images should be lazy-loaded and when they should be loaded.

Lastly, another technique you can implement is image caching. It’s a technique that involves storing copies of images in a cache which stores the image temporarily in a proxy server or a browser cache. Image caching can be useful for reducing the amount of data that needs to be transferred over the network. It can also help to reduce the load on servers, as it reduces the number of requests that need to be handled. 

For example, a web browser will typically cache images that are downloaded as part of a webpage, so that they don’t need to be re-downloaded each time the user visits the page – this is one of the reasons why cookies exist. You can use a caching plugin for this, or a CDN (Content Delivery Network) so your images are served to users from a server that is geographically closer to them.

If you’re curious about this, Tinify’s CDN might be for you! Tinify’s CDN caches optimized versions of images, which makes it an “all in one” tool for reducing, compressing and caching your images.

TL;DR

If you’re stuck with large images that slow down your website, remember that using only an image size reducer might not be enough to solve this issue. Here are 5 ways to reduce and optimize large image files:

  • Use the right image format: JPEG for photographs and PNG for web graphics, logos, charts, and illustrations.
  • Use the right image dimensions: resize and crop images to the appropriate size by checking the appropriate dimensions for your website.
  • Compress your images with Tinify: Large images can be compressed by a lot with our image size reducer tool without any noticeable loss in quality.
  • Convert your images to WebP, a modern image format that can provide smaller file sizes than JPEG or PNG.
  • Use lazy loading to only load images when they are needed, and image caching to store images so they are served faster to your users.

Take advantage of next-gen images to make your website faster

One of the most read posts in Tinify’s blog is about WebP, a next-gen image format that offers better compression for a faster website. WebP – together with HEIF, AVIF, and JPEG 2000 – is slowly replacing the usual JPEG and PNG image formats. But while they aren’t new, only now more and more users are jumping on the bandwagon and serving images in next-gen formats. If you’re behind on this, don’t worry – the beginning of this new year is perfect timing to take your visuals to the next level.

In this blog post, we talk about:

  1. What are next-gen images and examples;
  2. Which next-gen image format is the best for your website;
  3. What are the advantages of using next-gen images;
  4. How to convert your images to next-gen formats using Tinify.

Ready? Let’s dive in!

What are next-gen images?

Next-gen (short for next generation) images are newer file types that were designed to render faster on the web. Unlike traditional image formats such as JPEG and PNG, they offer better compression, meaning that they can be smaller in file size while still maintaining high quality. 

These new formats include WebP, AVIF (AV1 Image File Format), HEIF (High-Efficiency Image File Format), and JPEG 2000 (JP2). Here is a summary of the key differences between these formats:

  • Compression algorithm: JPEG 2000 uses a wavelet-based compression algorithm, while WebP uses the VP8 and VP9 video coding formats, HEIF uses the HEVC (High Efficiency Video Coding) standard, and AVIF uses the AV1 video coding format. Wavelet-based compression can offer better compression ratios and image quality than the block-based compression algorithms used by VP8, VP9, and AV1, but it can also be more computationally intensive to decode.
  • File size and compression ratio: AVIF has the potential to achieve the best compression ratios and smallest file sizes of these formats due to its use of the AV1 codec. HEIF may also have an advantage in terms of compression ratio and file size due to its use of the HEVC codec. JPEG 2000 and WebP may have slightly larger file sizes, but can still offer good compression and image quality.
  • Features: All of these formats support lossless and lossy compression, as well as transparency. WebP also supports animation and color profiles, while HEIF supports 16-bit color depth and the ability to store multiple images in a single file. AVIF and JPEG 2000 do not currently support animation or color profiles.

Which next-gen image format is the best for your website?

In terms of compression ratio and file size, AVIF probably yields the best results. JPEG 2000 might also offer good compression ratios, but its wavelet-based compression algorithm can be more computationally intensive to decode, which may affect its performance in some applications.

In terms of browser support, WebP is currently the most widely supported of these formats. It is supported by all modern browsers, including Google Chrome, Mozilla Firefox, Microsoft Edge, and Apple Safari. AVIF and HEIF are also supported by many modern browsers, although their support is not as widespread as WebP. JPEG 2000 is less widely supported than the other formats, with limited support in some modern browsers.

Overall, all these formats offer good compression and image quality, but WebP has become the go-to next-gen image format due to its wider browser support. According to Google, WebP can reduce file sizes by up to a third compared to JPEG and PNG images. The only catch is that it is not supported by older browsers, such as Internet Explorer. However, a way around this is to have JPEG or PNG as a fallback and serve these instead in older browsers.  

What are the advantages of using next-gen images?

There are a few different ways in which using next-gen image formats can help you optimize your website. One is that they can help reduce the file size of your images, which can speed up your website’s load time. Another way is that they can improve the quality of your images, making them look better and more professional.

Moreover, next-gen images can also help you save money on bandwidth costs. This is because they are typically more efficient than traditional image formats, meaning that they use less data to achieve the same quality level. This means that you won’t have to pay as much for bandwidth when using next-gen image formats.

In a nutshell, these are the major benefits:

  • Smaller file sizes: Next-generation image formats are typically more efficient at compressing images, which can result in smaller file sizes. This can be especially beneficial for websites that need to load quickly.
  • Improved image quality: Some next-generation image formats offer improved image quality, especially at smaller file sizes. This can be useful for images that need to be displayed at a high resolution or with a lot of detail.
  • Enhanced features: Some next-gen images offer enhanced features that are not available with traditional image formats. For example, some next-generation image formats support transparency or animation, which can be useful for certain types of images.
  • Better performance: Next-gen images can often be decoded and displayed more quickly than traditional image formats, which can improve the overall performance of a website.
  • Reduced bandwidth usage: Using smaller file sizes can help to reduce the amount of bandwidth required to transfer images, which can be beneficial for websites with a large number of visitors or a global audience.

If you are still in two minds on whether you need to convert your JPEG and PNG images on your website, remember that even a one-second difference in loading time can have a big impact. According to Website Builder Expert:

  • A 1-second delay reduces customer satisfaction by 16%.
  • 40% of users wait no more than 3 seconds before abandoning a website.

Besides this, using next-gen images can help you boost your SEO. One of the biggest recommendations of the web analyzer Google PageSpeed Insights is to switch to next-gen image formats, such as WebP. So, if you want to rank higher on Google’s search engine, converting your website images to next-gen formats is worthwhile.

How to convert your images to next-gen formats

Since we launched the new image converter feature for Tinify API users, WebP has been the most converted image type – around 80%. If you’re an API user looking to improve your website speed, this new feature allows you to do that in just one step, simply by making a “convert request” in your code. The Tinify algorithm will automatically convert and compress your images. This assures that you have the smallest version possible of your image without losing quality. API users can find all the information needed to start converting their JPEG, PNG, and WebP images here

Next-gen images: JPEG vs. WebP example
Can you spot the difference?

For non-developer users – such as WordPress users – you’ll need to use a WebP image converter tool. For this, you can upload your pictures into Tinify’s online image converter. This new online feature allows you now to not only compress but also convert your PNG, JPEG and WebP images. After it, you must upload them manually to your website. In the future, along with image compression, we’ll also offer the image converter feature to Web Pro users. Keep an eye out for this on Twitter or LinkedIn!

TL;DR:

  • Next-gen images are designed to be faster on the web and offer better compression, allowing for smaller file sizes while maintaining high quality;
  • Examples of next-gen image formats include WebP, AVIF, HEIF, and JPEG 2000;
  • WebP is the most widely supported of these formats, but fallback options are necessary for older browsers;
  • Next-gen formats will improve your website speed and SEO, according to Google;
  • Tinify users can convert PNG and JPEG images to WebP with the new image converter feature.