svg in article
-
I'll dig and and see what's going on. Sorry about that!
cheers Chris Maunder
-
woaw, so fast and after hours on Friday. Have a good WE.
Patrice “Everything should be made as simple as possible, but no simpler.” Albert Einstein
What's this 'after hours' thing you speak of? ;)
cheers Chris Maunder
-
in this page: Article Submission Wizard
https://www.codeproject.com/script/Articles/SubmissionWizard.aspx
When dropping an svg file, it get renamed and edited in a way that break my svg; Labels are bigger and moved, lines are removed. As my svg images are trees, it is a problem to have all the edges removed. How to drop the svg files without the 'cleaning' ? Or canyou remove the feature ?
Patrice “Everything should be made as simple as possible, but no simpler.” Albert Einstein
Could you please send me the image? Also: is what you are seeing the thumbnail that's being created for the article from the SVG you've uploaded? ie is the original SVG being uploaded OK, but a second image being created that's cropped?
cheers Chris Maunder
-
What's this 'after hours' thing you speak of? ;)
cheers Chris Maunder
-
Could you please send me the image? Also: is what you are seeing the thumbnail that's being created for the article from the SVG you've uploaded? ie is the original SVG being uploaded OK, but a second image being created that's cropped?
cheers Chris Maunder
-
Could you please send me the image? Also: is what you are seeing the thumbnail that's being created for the article from the SVG you've uploaded? ie is the original SVG being uploaded OK, but a second image being created that's cropped?
cheers Chris Maunder
-
The time you answered look very late Friday evening. :) Or did I miscalculated the time lag to Toronto ?
Patrice “Everything should be made as simple as possible, but no simpler.” Albert Einstein
No - you were correct. I was just joking about the concept of "after hours". It's been a long time since I knew what that meant ;)
cheers Chris Maunder
-
I dropped article.zip in Members Only[^]
Patrice “Everything should be made as simple as possible, but no simpler.” Albert Einstein
Thank you!
cheers Chris Maunder
-
Thank you!
cheers Chris Maunder
-
Could you please send me the image? Also: is what you are seeing the thumbnail that's being created for the article from the SVG you've uploaded? ie is the original SVG being uploaded OK, but a second image being created that's cropped?
cheers Chris Maunder
-
Any hope to see correction soon ?
Patrice “Everything should be made as simple as possible, but no simpler.” Albert Einstein
I'm so sorry for taking so long - I got completely sidetracked by another issue. Just to clarify something: you say the images are being cropped. Is this only for the thumbnail that's generated, or is this for all SVG images in the article? I'm guessing it's for all images.
cheers Chris Maunder
-
I'm so sorry for taking so long - I got completely sidetracked by another issue. Just to clarify something: you say the images are being cropped. Is this only for the thumbnail that's generated, or is this for all SVG images in the article? I'm guessing it's for all images.
cheers Chris Maunder
-
It is for every svg image. When dropped, the image comes to the list of images as 'cleaned' ImageName.svg comes as ImageName.cleaned.svg
Patrice “Everything should be made as simple as possible, but no simpler.” Albert Einstein
Ah. I now understand. What's happening is we clean SVG, since SVG can contain potential security exploits. What I'll need to do is go through your SVG images and add to our whitelist anything in your images that is safe and that's missing. Looking into this now.
cheers Chris Maunder
-
Ah. I now understand. What's happening is we clean SVG, since SVG can contain potential security exploits. What I'll need to do is go through your SVG images and add to our whitelist anything in your images that is safe and that's missing. Looking into this now.
cheers Chris Maunder
-
Thank you for your concern. For information: the SVG have been generated by yEd from yWorks. it's a graph editor. yWorks - Editors Overview[^]
Patrice “Everything should be made as simple as possible, but no simpler.” Albert Einstein
I've found and fixed the issue for your images by adding the missing attributes to our whitelist. My concern is there may be many more attributes, some standard, some non-standard, that may appear in future SVG images that will tigger a clean-up. Your images seem to be displaying fine now (in local debug) but we'll just have to keep an eye on things. If you see future images being cleaned let us know and we can manually inspect and adjust. The fix will be deployed soon.
cheers Chris Maunder
-
I've found and fixed the issue for your images by adding the missing attributes to our whitelist. My concern is there may be many more attributes, some standard, some non-standard, that may appear in future SVG images that will tigger a clean-up. Your images seem to be displaying fine now (in local debug) but we'll just have to keep an eye on things. If you see future images being cleaned let us know and we can manually inspect and adjust. The fix will be deployed soon.
cheers Chris Maunder
-
Works great, Thank you. TopDown Analyze Method with Tree Graphs as Support[^]
Patrice “Everything should be made as simple as possible, but no simpler.” Albert Einstein
Excellent! I'm a huge fan of SVG. So much more efficient.
cheers Chris Maunder
-
Excellent! I'm a huge fan of SVG. So much more efficient.
cheers Chris Maunder