Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Questions tagged [svg]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
27 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"
2
votes
0answers
103 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">...
9
votes
5answers
572 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
2
votes
0answers
27 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 ...
1
vote
0answers
96 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 ...
0
votes
0answers
32 views

Magento 2 Backend Product Insertion area customization

Hope you are doing well! I am working on a Magento 2.2.6 version.Into the backend product insertion area i want to add custom svg file uploader for insert the svg image. OR Into the textarea ...
1
vote
2answers
573 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
0answers
458 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\...
0
votes
1answer
176 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
1answer
592 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
1answer
37 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
0answers
543 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
1answer
1k 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\...