https://github.com/MagestyApps/module-web-images
Magento 2 module for uploading images in optimised formats (SVG, WebP, etc.)
https://github.com/MagestyApps/module-web-images
magento magento2 magento2-extension magento2-extension-free svg upload-images
Last synced: 22 days ago
JSON representation
Magento 2 module for uploading images in optimised formats (SVG, WebP, etc.)
- Host: GitHub
- URL: https://github.com/MagestyApps/module-web-images
- Owner: MagestyApps
- Created: 2021-03-19T07:50:09.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2025-03-08T11:37:36.000Z (about 2 months ago)
- Last Synced: 2025-03-08T12:16:33.762Z (about 2 months ago)
- Topics: magento, magento2, magento2-extension, magento2-extension-free, svg, upload-images
- Language: PHP
- Homepage: https://www.magestyapps.com
- Size: 74.2 KB
- Stars: 116
- Watchers: 15
- Forks: 20
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://packagist.org/packages/magestyapps/module-web-images) [](https://packagist.org/packages/magestyapps/module-web-images)
# Upload SVG and WebP images in Magento 2
This extension for Magento 2 allows uploading SVG and WebP images in the following sections:
* Page Builder editor
* Wysiwyg editor
* Theme logo and favicon
* Product media gallery
* Attribute option swatch images
* Category image
* Custom image uploader fields**IMPORTANT:** *if you need to upload any other image format or you need to upload it in any other Magento 2 area - please just drop us a line at [[email protected]](mailto:[email protected]?subject=Extend%20MagestyApps_WebImages%20extension) and we will update the extension*
**IMPORTANT:** *if you like the extension, could you please add a star to this GitHub repository in the top right corner. This is really important for us. Thanks.*
## Magento Version Compatibility
| Supported Magento Version | Compatible Module Version |
|---------------------------|---------------------------|
| 2.4.7 | 1.2.* |
| 2.4.6 | 1.1.* |
| 2.4.5 | 1.1.* |
| 2.4.4 or older | Not supported |## Installation
### Using Composer (recommended)
1) Go to your Magento root folder
2) Download the extension using composer:*For Magento 2.4.7 or newer:*
```
composer require magestyapps/module-web-images
```
*For Magento 2.4.5 or 2.4.6:*
```
composer require magestyapps/module-web-images:^1.1
```
3) Run setup commands:```
php bin/magento setup:upgrade;
php bin/magento setup:di:compile;
php bin/magento setup:static-content:deploy -f;
```
### Manually
1) Go to your Magento root folder:
```
cd
```
2) Copy extension files to *app/code/MagestyApps/WebImages* folder:
```
git clone https://github.com/MagestyApps/module-web-images.git app/code/MagestyApps/WebImages
```
***NOTE:*** *alternatively, you can manually create the folder and copy the extension files there.*
3) Run setup commands:```
php bin/magento setup:upgrade;
php bin/magento setup:di:compile;
php bin/magento setup:static-content:deploy -f;
```### Possible issues
*Problem:* An image gets uploaded to the server but not accessible in browser.*Solution:* Most likely, this is related to your nginx/apache restrictions. Please, make sure that the requested image extension is allowed by the web server configuration.