Questions tagged [svg]
The svg tag has no usage guidance.
16
questions
1
vote
3
answers
24
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.
1
vote
1
answer
273
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 ...
0
votes
1
answer
23
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. ...
0
votes
2
answers
110
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=&...
0
votes
0
answers
453
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"
3
votes
2
answers
537
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">...
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
4
votes
0
answers
165
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 ...
2
votes
0
answers
266
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 ...
1
vote
3
answers
3k
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.
0
votes
0
answers
907
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\...
1
vote
1
answer
364
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
1
vote
1
answer
1k
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 ...
0
votes
1
answer
84
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">
...
1
vote
0
answers
607
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:
...
4
votes
1
answer
2k
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\...