SVG images support - vector, responsive images!
https://www.opencart.com/index.php?rout ... n_id=30688
Ernie
My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
Installation:
1) Requiring installed vQmod because vQmod doesn't support installing via composer itself.
2) composer require burdapraha/oc_svg
3) composer require sasedev/composer-plugin-filecopier for files manipulating
4) Add this code to your composer.json project file, extra section:
Code: Select all
"extra": {
"filescopier": [
{
"source": "vendor/burdapraha/oc_svg/upload",
"destination": "upload",
"debug": "true"
}
]
}
5) optionally you can add row to your .gitignore file with path to svg.xml (example: upload/vqmod/xml/svg.xml)
VqMod File into it's vqmod/xml/... Directory,
that's all, the other files are of no interest to you or me!
But if it does not work, then at least, one could find out easy, where
what needs to be added, to make it work in your Version!
Ernie
---
Lines of one of the Files, where some changes are made:
Code: Select all
<file path="admin/controller/common/filemanager.php">
<search position="replace"><![CDATA[jpg,jpeg,png,gif,JPG,JPEG,PNG,GIF]]></search>
<add><![CDATA[jpg,jpeg,png,gif,JPG,JPEG,PNG,GIF,svg,SVG]]></add>
VqMod Information:
https://github.com/vqmod/vqmod/wiki
http://forum.opencart.com/viewtopic.php ... 89#p640689
http://forum.opencart.com/viewtopic.php ... 15#p507217
My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
Just convert your svg file to .jpg ot .png wich is dupported by all browsers.
Koeltechnische deurrubbers eenvoudig online op maat bestellen.
Alle niet stekplichtige onderdelen zoals scharnieren, sloten, randverwarming en verlichting voor alle typen koelingen en vriezers.
https://koelcel-onderdelen.com
SVG is a vector based image, perfect if a image needs resizing, it will not lose sharpness.
a logo rarely needs do be resized in a website, so a lossless compressed jpg file will be smaller and loads faster.
if you need svg files upload capability in opencart, just go into admin.
configuration, your shop tab server and add extension svg to upload extensions.
now opencart allows to upload svg files
Koeltechnische deurrubbers eenvoudig online op maat bestellen.
Alle niet stekplichtige onderdelen zoals scharnieren, sloten, randverwarming en verlichting voor alle typen koelingen en vriezers.
https://koelcel-onderdelen.com
Attachments
Allow SVG in OpenCart 2.x
https://netsh.pp.ua/en/2018/02/svg-logo-in-opencart/
SVG support (ocmod) OC3.0.0.0, 3.0.1.1, 3.0.1.2, 3.0.2.0, 2.3.0.0, 2.3.0.1, 2.3.0.2
https://www.opencart.com/index.php?rout ... n_id=32897
SVG in Image Manager (paid)
https://www.opencart.com/index.php?rout ... n_id=31290
SVG image (paid)
https://www.opencart.com/index.php?rout ... n_id=37672
SVG images support - vector, responsive images! (free) OC v.2.3.0.2
https://www.opencart.com/index.php?rout ... n_id=30688
Opencart-Webp-Optimizer OC 3.X Another Image Optimizer
https://github.com/IP-CAM/Opencart-Webp-image-Optimizer
Or seach here, to find more Github Opencart Downloads on this:
https://github.com/IP-CAM?tab=repositor ... age=&sort=
My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
Users browsing this forum: No registered users and 194 guests