Magento 2 tool to reload images from alternative domain.
Magento 2 images replace tool Extension
The problem
Websites often have folders with multiple images, and in some cases the total size of these files can be very large, taking up a lot of space on the developer's storage drive.
The extension's idea is to allow images to be loaded from an alternate domain, eliminating the need to have a local copy.
Read more
Websites often have folders with multiple images, and in some cases the total size of these files can be very large, taking up a lot of space on the developer's storage drive.
The extension's idea is to allow images to be loaded from an alternate domain, eliminating the need to have a local copy.
Source Manifest.json
{"update_url": "https://clients2.google.com/service/update2/crx", "name": "Magento 2 images replace tool", "description": "Magento 2 tool to reload images from alternative domain.", "version": "1.0.0", "manifest_version": 3, "default_locale": "en_US", "permissions": [ "storage", "activeTab" ], "content_scripts": [ { "matches": [ "" ], "run_at": "document_end", "js": [ "js/replace.js" ], "css": [ "css/notify.css" ], "all_frames": true } ], "action": { "default_popup": "html/popup.html", "default_icon": { "16": "/images/logo16.png", "32": "/images/logo32.png", "48": "/images/logo48.png", "128": "/images/logo128.png" } }, "icons": { "16": "/images/logo16.png", "32": "/images/logo32.png", "48": "/images/logo48.png", "128": "/images/logo128.png" }}
Read more