Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. Site Bugs / Suggestions
  4. svg in article

svg in article

Scheduled Pinned Locked Moved Site Bugs / Suggestions
comtoolshelptutorialquestion
20 Posts 2 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Patrice T

    I dropped article.zip in Members Only[^]

    Patrice “Everything should be made as simple as possible, but no simpler.” Albert Einstein

    C Offline
    C Offline
    Chris Maunder
    wrote on last edited by
    #10

    Thank you!

    cheers Chris Maunder

    P 1 Reply Last reply
    0
    • C Chris Maunder

      Thank you!

      cheers Chris Maunder

      P Offline
      P Offline
      Patrice T
      wrote on last edited by
      #11

      Just curious. Did you found the problem ? Can expect some correction with WE update ?

      Patrice “Everything should be made as simple as possible, but no simpler.” Albert Einstein

      1 Reply Last reply
      0
      • C 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

        P Offline
        P Offline
        Patrice T
        wrote on last edited by
        #12

        Any hope to see correction soon ?

        Patrice “Everything should be made as simple as possible, but no simpler.” Albert Einstein

        C 1 Reply Last reply
        0
        • P Patrice T

          Any hope to see correction soon ?

          Patrice “Everything should be made as simple as possible, but no simpler.” Albert Einstein

          C Offline
          C Offline
          Chris Maunder
          wrote on last edited by
          #13

          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

          P 1 Reply Last reply
          0
          • C 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

            P Offline
            P Offline
            Patrice T
            wrote on last edited by
            #14

            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

            C 1 Reply Last reply
            0
            • P Patrice T

              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

              C Offline
              C Offline
              Chris Maunder
              wrote on last edited by
              #15

              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

              P 1 Reply Last reply
              0
              • C 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

                P Offline
                P Offline
                Patrice T
                wrote on last edited by
                #16

                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

                C 1 Reply Last reply
                0
                • P Patrice T

                  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

                  C Offline
                  C Offline
                  Chris Maunder
                  wrote on last edited by
                  #17

                  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

                  P 1 Reply Last reply
                  0
                  • C 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

                    P Offline
                    P Offline
                    Patrice T
                    wrote on last edited by
                    #18

                    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

                    C 1 Reply Last reply
                    0
                    • P Patrice T

                      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

                      C Offline
                      C Offline
                      Chris Maunder
                      wrote on last edited by
                      #19

                      Excellent! I'm a huge fan of SVG. So much more efficient.

                      cheers Chris Maunder

                      P 1 Reply Last reply
                      0
                      • C Chris Maunder

                        Excellent! I'm a huge fan of SVG. So much more efficient.

                        cheers Chris Maunder

                        P Offline
                        P Offline
                        Patrice T
                        wrote on last edited by
                        #20

                        Chris Maunder wrote:

                        I'm a huge fan of SVG. So much more efficient.

                        Agreed.

                        Patrice “Everything should be made as simple as possible, but no simpler.” Albert Einstein

                        1 Reply Last reply
                        0
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • World
                        • Users
                        • Groups