Hello,
I have a SVG file with the logo that I want to use but the image chooser in the store config don't even show me SVG files.
Anyone was able to do this successfully?
Hi distante,
the image class (see under "/system/library/image.php") is set to use the following files only:
- .gif
- .png
- .jpeg/jpg
You'd have to modify some of the functions there to enable SVG. It might be easier to just convert the file to one of those formats.
- Mel
the image class (see under "/system/library/image.php") is set to use the following files only:
- .gif
- .png
- .jpeg/jpg
You'd have to modify some of the functions there to enable SVG. It might be easier to just convert the file to one of those formats.
- Mel
http://online.enterpriseconsulting.com.au
Site with OpenCart extensions & code downloads, many new extensions coming soon!
Follow us on twitter for more updates
i did not know svg files until reading this post, and did some investigation.
svg files do have a lot of advantages compared to other formats.
smaller, fully scaleble, easyer to optimize, printable in big sizes without losing quality.
all very interesting specially for big product pictures and documents.
nice project for near future incoorporating this facility
svg files do have a lot of advantages compared to other formats.
smaller, fully scaleble, easyer to optimize, printable in big sizes without losing quality.
all very interesting specially for big product pictures and documents.
nice project for near future incoorporating this facility
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
Yes indeed!victorj wrote:i did not know svg files until reading this post, and did some investigation.
svg files do have a lot of advantages compared to other formats.
smaller, fully scaleble, easyer to optimize, printable in big sizes without losing quality.
all very interesting specially for big product pictures and documents.
nice project for near future incoorporating this facility
I did a workaround, uploaded as logo a transparent x.png file, then in my css file create/modify "header h1 a" class with:melbagnato wrote:Hi distante,
the image class (see under "/system/library/image.php") is set to use the following files only:
- .gif
- .png
- .jpeg/jpg
You'd have to modify some of the functions there to enable SVG. It might be easier to just convert the file to one of those formats.
- Mel
Code: Select all
header h1 a {
background: url(YOURLOGOURL/logo.svg) 0 0 no-repeat !important;
}
Who is online
Users browsing this forum: No registered users and 290 guests