All Projects → tinify → Magento2 Plugin

tinify / Magento2 Plugin

Licence: mit
Speed up your Magento 2 webshop. Optimize your JPEG and PNG images automatically with TinyPNG.

Projects that are alternatives of or similar to Magento2 Plugin

Magento2 Form Field Manager
Customer and Address Form Fields Manager for Magento2
Stars: ✭ 21 (-44.74%)
Mutual labels:  magento2, magento2-extension
Dotmailer Magento2 Extension
The official Engagement Cloud for Magento2 extension
Stars: ✭ 33 (-13.16%)
Mutual labels:  magento2, magento2-extension
MultipleLayeredNavigation-M2
Magento 2 Multiple Layered Navigation extension.
Stars: ✭ 20 (-47.37%)
Mutual labels:  magento2, magento2-extension
Storecodebodyclass
🏪 This Magento 2 Plugin adds the store & website code to the body class
Stars: ✭ 28 (-26.32%)
Mutual labels:  magento2, magento2-extension
Magento2 Module Mailcatcher
Magento 2 Module to catch, log and redirect emails on Local and Dev Servers
Stars: ✭ 14 (-63.16%)
Mutual labels:  magento2, magento2-extension
Magento-Quickorder
Magento Quickorder module, enables bulk order creation by inputting SKUs & quantities.
Stars: ✭ 30 (-21.05%)
Mutual labels:  magento2, magento2-extension
magento2-auto-instagram-post
Magento 2 extension Auto Instagram Post allows you add your products immediately to Instagram after publishing it on Magento site, share your thoughts, product information, brand news and latest to your friends by an action, mass action or schedule a post by cron jobs
Stars: ✭ 30 (-21.05%)
Mutual labels:  magento2, magento2-extension
blog
MageVision Blog
Stars: ✭ 23 (-39.47%)
Mutual labels:  magento2, magento2-extension
Cleancheckout
A drop-in replacement for the Magento 2 checkout.
Stars: ✭ 280 (+636.84%)
Mutual labels:  magento2, magento2-extension
magento2-webappmanifest
A Magento 2 extension that adds a Web App Manifest to the store.
Stars: ✭ 19 (-50%)
Mutual labels:  magento2, magento2-extension
module-checkout-designs
Allow multiple options for Magento 2 checkout layout. Provides capabilities to AB test checkout changes and more.
Stars: ✭ 28 (-26.32%)
Mutual labels:  magento2, magento2-extension
Module Rocketjavascript
Stars: ✭ 37 (-2.63%)
Mutual labels:  magento2, magento2-extension
magento2-customer-account-links-manager
Customer Account Links Manager allows you to quickly and easily remove customer account links from Magento 2 customer dashboard.
Stars: ✭ 40 (+5.26%)
Mutual labels:  magento2, magento2-extension
Magento2 Easy Template Path Hints
Magento 2 Easy Template Path Hints
Stars: ✭ 36 (-5.26%)
Mutual labels:  magento2, magento2-extension
m2.IndexerUrlRewrite
Magento2. Extension rebuild UrlRewrite index.
Stars: ✭ 38 (+0%)
Mutual labels:  magento2, magento2-extension
magento-2-layered-navigation
Magento 2 Layered Navigation extension Free optimizes the navigation process, redirects users to product catalog pages, and makes finding products easier
Stars: ✭ 16 (-57.89%)
Mutual labels:  magento2, magento2-extension
ConfigurableProducts
Pre-selected configurable product options, change URL on the fly, and other improvements
Stars: ✭ 39 (+2.63%)
Mutual labels:  magento2, magento2-extension
rebuild-urlrewrite
Rebuild Url Rewrite for magento 2
Stars: ✭ 26 (-31.58%)
Mutual labels:  magento2, magento2-extension
m2.Breadcrumbs
Magento2. Extension add breadcrumbs to pages in Magento2 that by default do not have breadcrumbs.
Stars: ✭ 17 (-55.26%)
Mutual labels:  magento2, magento2-extension
Magento2 Frontools
Set of front-end tools for Magento 2 based on Gulp.js
Stars: ✭ 416 (+994.74%)
Mutual labels:  magento2, magento2-extension

Build Status

Compress JPEG & PNG images for Magento 2

Make your Magento 2 store 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. Learn more about these services on https://tinypng.com/.

Important notice: Magento 2.1.6 includes a different way of generating product images in the cache folder. Magento reports many users with issues in that images are not showing and have posted a notice in their 2.1.6 release notes along with 2 solutions. Be warned when flushing the image cache in Magento 2.1.6: you will most likely need to regenerate a lot of missing images in the cache again afterwards with the catalog:images:resize script and this will take a lot of time. For fresh installs of this extension we recommend you temporarily suspend optimization when regenerating the cache. This can be done by setting the 4 image sizes to “No” on the configuration screen. Afterwards you can set the image sizes back to "Yes" to reenable image optimization for normal operation.

Do you use Magento 1? Download the extension for Magento 1 Community Edition or Magento 1 Enterprise Edition instead.

How does it work?

When you view a product in your webshop, Magento creates different image sizes in its cache folders. This extension will compress these images for you automatically. Any image sizes that are exact duplicates of each other will only be compressed once.

Your product images are uploaded to the TinyJPG or TinyPNG service and analyzed to apply the best possible compression. Based on the content of the image an optimal strategy is chosen. The result is sent back to your Magento webshop and saved in your public media folder.

On average JPEG images are compressed by 40-60% and PNG images by 50-80% without visible loss in quality. Your webshop will load faster for your visitors, and you’ll save storage space and bandwidth!

Screenshot

Example of plugin configuration in Magento 2:

Compress JPEG & PNG images configuration screen

Getting started

Obtain your free API key from https://tinypng.com/developers. The first 500 compressions per month are completely free, no strings attached! As each product will be shown in different sizes, between 50 and 100 products can be uploaded to your Magento webshop and compressed for free. You can also change which of types of image sizes should be compressed.

If you’re a heavy user, you can compress additional images for a small additional fee per image by upgrading your account. You can keep track of the amount of compressions in the Magento 2 configuration section.

Installation

The Magento 2 module can be installed with Composer (https://getcomposer.org/download/). Once the new Magento 2 Marketplace is lauched, it will also be featured there.

From the command line, do the following in your Magento 2 installation directory:

composer require tinify/magento2
php bin/magento setup:upgrade

Contact us

Got questions or feedback? Let us know! Contact us at [email protected].

Information for plugin contributors

Prerequisites

Running the unit tests

composer install
vendor/bin/phpunit

Installing development version of plugin

Make sure to set "minimum-stability": "dev" in composer.json before you start.

composer config repositories.tinify vcs https://github.com/tinify/magento2-plugin
composer require tinify/magento2:dev-master
bin/magento setup:upgrade

License

This software is licensed under the MIT License. View the license.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].