Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-51828

Import of some SVG files from Wikimedia fails

XMLWordPrintable

    • MOODLE_29_STABLE
    • MOODLE_29_STABLE, MOODLE_30_STABLE
    • MDL-51828-master
    • Hide

      Remove the ".png" part of the file name right before clicking "Select a file".

      Show
      Remove the ".png" part of the file name right before clicking "Select a file".
    • Hide
      1. Create a new blog post using Atto
      2. Open the image picker and browse the Wikimedia repository
      3. Search for "Hoeffler A", 1024x1024.
      4. You should find an image with the letter Ä
      5. Make sure that you can pick the image, and that it is displayed in your blog post once saved.
        • The image displayed should have a size of 256x256.
      6. Search and save "Bad Idea Machine lolcat"
      7. Make sure that you can pick the image, and that it is displayed in your blog post once saved.
        • The image displayed should have a size of 450x600.
      8. Repeat the whole test, but this time restrict the search to sizes 50x50.
      9. Make sure that the final images display well and have the dimensions of 50x50.
      Show
      Create a new blog post using Atto Open the image picker and browse the Wikimedia repository Search for "Hoeffler A", 1024x1024. You should find an image with the letter Ä Make sure that you can pick the image, and that it is displayed in your blog post once saved. The image displayed should have a size of 256x256. Search and save "Bad Idea Machine lolcat" Make sure that you can pick the image, and that it is displayed in your blog post once saved. The image displayed should have a size of 450x600. Repeat the whole test, but this time restrict the search to sizes 50x50. Make sure that the final images display well and have the dimensions of 50x50.

      It seems that SOME .png files hosted on Wikimedia can't be imported (copied) through Wikimedia repository, but CAN be imported through URL downloader or manual upload.
      Most of them have the .svg.png extension (converted from SVG), but I have also found some which work. Not sure what is the difference.

      Steps to reproduce:
      1. Insert image in any ATTO editor.
      2. Choose Wikimedia repository.
      3. Search for "a", 1024x1024.
      4. There should be an image thumbnail with "Ä" letter (direct link https://upload.wikimedia.org/wikipedia/commons/thumb/3/3a/Hoeffler_%C3%84.svg/120px-Hoeffler_%C3%84.svg.png )
      5. Select this image. In the next step a thumbnail will appear, together with dimensions. Choose "Make a copy of this file" and then "Select this file".
      6. In the "Image properties" window, there will be NO thumbnail, NO dimensions. If you do it manually and finally insert the image, the image link is broken.

      If you use URL downloader with the link above, it works perfectly. The same is with manual upload.

      Some other examples which don't work:

            fred Frédéric Massart
            ivki Ivana Bosnic
            Adrian Greeve Adrian Greeve
            Andrew Lyons Andrew Lyons
            Simey Lameze Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.