***SOLVED***svg image

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
IMPORTANT NOTE!!

DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.



PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
mixextra
 
 
Posts: 99
Joined: Sat Mar 21, 2020 11:45 pm

***SOLVED***svg image

Post by mixextra »

Hi,
is the expected behavior when svg images (logo, etc.) do not display in the project but only when displayed in the browser?
Thank you for the info.
User avatar
Pablo
 
Posts: 23649
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: svg image

Post by Pablo »

Most SVG image should work, but some complex images may not be rendered for performance reason.
User avatar
zinc
 
 
Posts: 2187
Joined: Sat Dec 08, 2007 3:06 pm
Location: London, United Kingdom
Contact:

Re: svg image

Post by zinc »

mixextra wrote: Sun Feb 13, 2022 5:50 pm Hi,
is the expected behavior when svg images (logo, etc.) do not display in the project but only when displayed in the browser?
Thank you for the info.
This is due to its large file. I had the same issues and realized that it was 50000 x 25000. Ensure your SVG is the correct size and it will show in WWB during design time.
Running WYSIWYG Web Builder since 2007...
mixextra
 
 
Posts: 99
Joined: Sat Mar 21, 2020 11:45 pm

Re: svg image

Post by mixextra »

These are not big pictures, take a look and try:

http://mixextra.sk/logo.svg
http://mixextra.sk/logo1.svg

http://mixextra.sk/logo.zip

they do not appear in the application, do I need to set anything in WWB?
User avatar
Pablo
 
Posts: 23649
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: svg image

Post by Pablo »

It looks like the SVG file uses functionality that is not supported. It may be the patterns.

Unfortunately, Windows does not natively support SVG.
So, WWB uses a third party library to load SVG, I have no control over which SVG functionality is supported.
But I also have tried to load the SVG in Affinity Designer and that did not work either.
User avatar
zinc
 
 
Posts: 2187
Joined: Sat Dec 08, 2007 3:06 pm
Location: London, United Kingdom
Contact:

Re: svg image

Post by zinc »

mixextra wrote: Mon Feb 14, 2022 3:29 pm These are not big pictures, take a look and try:

http://mixextra.sk/logo.svg
http://mixextra.sk/logo1.svg

http://mixextra.sk/logo.zip

they do not appear in the application, do I need to set anything in WWB?
I am even unable to open them in Affinity Designer (Similar to illustrator).

Check your export settings - As Pablo says something in the encoding does not let some applications to interpret /display it.

If you have the illustrator file, post it and let me have a look.
Running WYSIWYG Web Builder since 2007...
mixextra
 
 
Posts: 99
Joined: Sat Mar 21, 2020 11:45 pm

Re: svg image

Post by mixextra »

The original image was exported to svg with AAAlogo.
Finally I made a new design in Corel Draw and after adjusting the export parameters to svg ... it already looks fine.

http://mixextra.sk/Logo_CDR_SVG.svg
http://mixextra.sk/Logo_CDR_SVG.zip
User avatar
zinc
 
 
Posts: 2187
Joined: Sat Dec 08, 2007 3:06 pm
Location: London, United Kingdom
Contact:

Re: svg image

Post by zinc »

mixextra wrote: Tue Feb 15, 2022 2:25 pm The original image was exported to svg with AAAlogo.
Finally I made a new design in Corel Draw and after adjusting the export parameters to svg ... it already looks fine.

http://mixextra.sk/Logo_CDR_SVG.svg
http://mixextra.sk/Logo_CDR_SVG.zip
As I had suspected the issue is with the size of the SVG.....

When I open your SVG in Affinity Designer it tells me that the width of the logo/document is:

15540.8 px by 4061 px

That is the reason why it does not show up in WWB. I changed the size to something more reasonable and it is showing in design time.
Running WYSIWYG Web Builder since 2007...
Post Reply