{"id":13518912,"url":"https://github.com/tinify/magento2-plugin","last_synced_at":"2025-04-15T01:34:20.322Z","repository":{"id":57070067,"uuid":"49449066","full_name":"tinify/magento2-plugin","owner":"tinify","description":"Speed up your Magento 2 webshop. Optimize your JPEG and PNG images automatically with TinyPNG.","archived":false,"fork":false,"pushed_at":"2022-12-20T12:09:16.000Z","size":321,"stargazers_count":43,"open_issues_count":6,"forks_count":9,"subscribers_count":13,"default_branch":"master","last_synced_at":"2024-09-25T12:29:24.695Z","etag":null,"topics":["magento2","magento2-extension","pagespeed","seo-optimization"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tinify.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-01-11T19:30:33.000Z","updated_at":"2024-08-06T16:36:54.000Z","dependencies_parsed_at":"2023-01-30T00:31:09.242Z","dependency_job_id":null,"html_url":"https://github.com/tinify/magento2-plugin","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinify%2Fmagento2-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinify%2Fmagento2-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinify%2Fmagento2-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinify%2Fmagento2-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tinify","download_url":"https://codeload.github.com/tinify/magento2-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248973510,"owners_count":21191988,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["magento2","magento2-extension","pagespeed","seo-optimization"],"created_at":"2024-08-01T05:01:50.723Z","updated_at":"2025-04-15T01:34:19.923Z","avatar_url":"https://github.com/tinify.png","language":"PHP","funding_links":[],"categories":["PHP"],"sub_categories":[],"readme":"[\u003cimg src=\"https://travis-ci.org/tinify/magento2-plugin.svg?branch=master\" alt=\"Build Status\"\u003e](https://travis-ci.org/tinify/magento2-plugin)\n\n# Compress JPEG \u0026 PNG images for Magento 2\n\nMake your Magento 2 store faster by compressing your JPEG and PNG images.\n\nThis plugin automatically optimizes your images by integrating with the\npopular image compression services TinyJPG and TinyPNG. Learn more about\nthese services on https://tinypng.com/.\n\n***Important notice: Magento 2.1.6 includes a different way of generating\nproduct images in the cache folder. Magento reports many users with issues in\nthat images are not showing and have posted a notice in their \n[2.1.6 release notes](http://devdocs.magento.com/guides/v2.1/release-notes/ReleaseNotes2.1.6CE.html#catalog)\nalong with 2 solutions. Be warned when flushing the image cache in Magento\n2.1.6: you will most likely need to regenerate a lot of missing images in the\ncache again afterwards with the catalog:images:resize script and this will\ntake a lot of time. For fresh installs of this extension we recommend you\ntemporarily suspend optimization when regenerating the cache. This can be done\nby setting the 4 image sizes to “No” on the configuration screen. Afterwards\nyou can set the image sizes back to \"Yes\" to reenable image optimization for\nnormal operation.***\n\nDo you use Magento 1? Download the extension for\n[Magento 1 Community Edition](https://www.magentocommerce.com/magento-connect/compress-jpeg-png-images.html)\nor [Magento 1 Enterprise Edition](https://tig.nl/image-optimization-magento-extension-enterprise-edition/) instead.\n\n## How does it work?\n\nWhen you view a product in your webshop, Magento creates different image sizes\nin its cache folders. This extension will compress these images for you\nautomatically. Any image sizes that are exact duplicates of each other will\nonly be compressed once.\n\nYour product images are uploaded to the TinyJPG or TinyPNG service and analyzed\nto apply the best possible compression. Based on the content of the image an\noptimal strategy is chosen. The result is sent back to your Magento webshop and\nsaved in your public media folder.\n\nOn average JPEG images are compressed by 40-60% and PNG images by 50-80%\nwithout visible loss in quality. Your webshop will load faster for your\nvisitors, and you’ll save storage space and bandwidth!\n\n## Screenshot\n\nExample of plugin configuration in Magento 2:\n\n![Compress JPEG \u0026 PNG images configuration screen](https://raw.githubusercontent.com/tinify/magento2-plugin/screenshots/magento2-config.jpg)\n\n## Getting started\n\nObtain your free API key from https://tinypng.com/developers. The first 500\ncompressions per month are completely free, no strings attached! As each\nproduct will be shown in different sizes, between 50 and 100 products can be\nuploaded to your Magento webshop and compressed for free. You can also change\nwhich of types of image sizes should be compressed.\n\nIf you’re a heavy user, you can compress additional images for a small\nadditional fee per image by upgrading your account. You can keep track of the\namount of compressions in the Magento 2 configuration section.\n\n## Installation\n\nThe Magento 2 module can be installed with Composer\n(https://getcomposer.org/download/). Once the new Magento 2 Marketplace is\nlauched, it will also be featured there.\n\nFrom the command line, do the following in your Magento 2 installation\ndirectory:\n\n```\ncomposer require tinify/magento2\nphp bin/magento setup:upgrade\n```\n\n## Contact us\n\nGot questions or feedback? Let us know! Contact us at support@tinypng.com.\n\n## Information for plugin contributors\n\n### Prerequisites\n\n* PHP 5.5 or newer.\n* MySQL 5.6 or newer (integration tests).\n* Composer (https://getcomposer.org/download/).\n\n### Running the unit tests\n\n```\ncomposer install\nvendor/bin/phpunit\n```\n\n### Installing development version of plugin\n\nMake sure to set `\"minimum-stability\": \"dev\"` in `composer.json` before you start.\n\n```\ncomposer config repositories.tinify vcs https://github.com/tinify/magento2-plugin\ncomposer require tinify/magento2:dev-master\nbin/magento setup:upgrade\n```\n\n## License\n\nThis software is licensed under the MIT License. [View the license](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftinify%2Fmagento2-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftinify%2Fmagento2-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftinify%2Fmagento2-plugin/lists"}