Questions tagged [svg]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
101 views

how to fix page builder svg icon upload decode url issues in magento 2 (VENUSTHEME EXTENSIONS)?

I am using ves page builder module for my home page.In svg icon upload section facing an issue,The issue is after icon upload the checkDecodedUrl is not working.After upload the svg icon,text area ...
Benit's user avatar
  • 23
0 votes
1 answer
51 views

SVG as product placeholder image

I manually uploaded svg to media subfolder (pub/media/catalog/product/placeholder/default) and edited in table core_config_data path catalog/placeholder/image_placeholder to reflect file name change (...
Twisted_Jar's user avatar
1 vote
3 answers
38 views

is there any free SVG file extension?

Is there any free SVG file extension that I can download and install(Magento2.4EE)? so I can upload SVG in CMS page.
Paul Fan's user avatar
  • 614
2 votes
1 answer
1k views

Not able to upload SVG in Magento 2.4.2

I am using Magento 2.4.2 community edition and I want to allow SVG upload across everywhere in magento admin. I have tried below code to achieve it but no luck. Firstly, I tried to add svg in allowed ...
Gaurav Agrawal's user avatar
0 votes
1 answer
41 views

Is it a bad idea to allow magento upload SVG file for CMS page?

One of my user request to ask me to make the Magento able to upload svg file to the CMS. I did some research, some say security issue, but didn't tell much what kind of security issue it may happen. ...
Paul Fan's user avatar
  • 614
0 votes
2 answers
265 views

How can i upload SVG image on Magento 2.3.6?

Please help me. Now i can't upload SVG image on Magento V-2.3.6. I tried with below code but still can't. <type name="Magento\Cms\Model\Wysiwyg\Images\Storage"> <argument name=&...
Nang's user avatar
  • 23
0 votes
0 answers
548 views

Magento 2.3.2 - SVG Logo not supported

I have tried to upload SVG logo in Magento 2.3.2 but its shows error "We don't recognize or support this file extension type"
Bharat Sevra's user avatar
3 votes
2 answers
946 views

Magento 2: How to enable SVG image for category custom image upload

I need to enable SVG image in upload for custom module. I have tried all the solution which i have found. Here is my code: /etc/di.xml <type name="Magento\Cms\Model\Wysiwyg\Images\Storage">...
Shomita's user avatar
  • 1,103
8 votes
5 answers
3k views

File type .svg Error in image upload Magento 2.3.1

How to Allowed file types svg image upload magento 2 Show in system.log main.ERROR: Unsupported image format. File: /var/www/html/pub/media//logos_1.svg
Savan Patel's user avatar
  • 2,298
4 votes
1 answer
276 views

How to add svg icons to Swatch attribute (disable admin panel file validation)?

Currently, I can load png/jpg files in swatch attribute, but when I tried to load save attribute with loaded svg file, it's not working. When I load svg from servers - it displays well, but when I ...
Ashen One's user avatar
  • 423
2 votes
0 answers
314 views

Using inline SVG in the wysiwyg/backend cms elements

How can i get the wysiwyg/backend cms editor to accept inline svg code, i want to make the svgs stylable which means they need to be injected. Yes i can inject them via javascript, but this causes ...
siux's user avatar
  • 186
1 vote
3 answers
4k views

2.3 how can i upload SVG

I used others post but not working, My currently problem is that I cannot seem. how can i upload and use SVG file in magento 2.3? please help.
niceonelee's user avatar
0 votes
0 answers
1k views

Magento 2.3 File validation failed when uploading SVG image in CMS

I created a module, to override vendor/magento/module-cms/etc/di.xml, since SVG format is not supported by default This is how di.xml looks like in my module. <type name="Magento\Cms\Model\...
Magento Learner's user avatar
1 vote
1 answer
412 views

How to upload svg iamges in CMS pages in magento 2

I wish to add svg images in cms pages in backend. While uploading .svg images, it shows invalid file. Please provide me a solution to upload svg images in cms pages in magento 2
Jaisa's user avatar
  • 2,522
1 vote
1 answer
2k views

Can I upload SVG images to the products on Magento 2.2.3?

Is it possible to upload SVG images to the products on Magento 2.2.3. I have read many topics related to my issue, but I didn't get a clear solution on that. Please let me know whether it's possible ...
Siva's user avatar
  • 1,124
0 votes
1 answer
115 views

Account Link label generated by helper returns escaped html

In a link block I am calling a helper function to return a label with a piece of svg: <block class="Magento\Customer\Block\Account\Link" name="my-account-link" after="top.links.right.search"> ...
omsta's user avatar
  • 672
1 vote
0 answers
624 views

Magento 2 - How I can upload svg image from backend custom module's add/edit page?

I want to upload svg image using uploader from backend but it throws the error: disallowed extension I have also change xml file <your magento dir>/vendor/magento/module-cms/etc/di.xml as: ...
Adil's user avatar
  • 183
4 votes
1 answer
3k views

How can I upload SVG files as Magento product images?

I would like to add SVG files as product images. How can I accomplish that? I saw Magento 2 - upload SVG files but it changes core files and is for CMS. edit it's breaking in \Magento\Framework\...
Alex's user avatar
  • 13.7k