Skip to content

Add support for uploading SVGs #9

Closed
Closed

Description

@LukeTowers

Need to integrate with https://github.com/darylldoyle/svg-sanitizer to automatically sanitize SVGs on upload and then re-add them to the list of allowed defaultExtensions, assetExtensions, and imageExtensions.

Original october#5261

Activity

  1. added this to the v1.1.3 milestone on Mar 12, 2021
  2. added
    enhancement
    on Mar 12, 2021
  3. modified the milestones: v1.1.3, v1.1.4 on Apr 17, 2021
  4. removed this from the v1.1.4 milestone on May 21, 2021
  5. github-actions commented on Jul 21, 2021

    @github-actions

    This issue will be closed and archived in 3 days, as there has been no activity in the last 60 days.
    If this issue is still relevant or you would like to see it actioned, please respond and we will re-open this issue.
    If this issue is critical to your business, consider joining the Premium Support Program where a Service Level Agreement is offered.

  6. added
    stale
    on Jul 21, 2021
  7. removed
    stale
    on Jul 21, 2021
  8. github-actions commented on Sep 20, 2021

    @github-actions

    This issue will be closed and archived in 3 days, as there has been no activity in the last 60 days.
    If this issue is still relevant or you would like to see it actioned, please respond and we will re-open this issue.
    If this issue is critical to your business, consider joining the Premium Support Program where a Service Level Agreement is offered.

  9. added
    stale
    on Sep 20, 2021
  10. removed
    stale
    on Sep 20, 2021
  11. github-actions commented on Nov 20, 2021

    @github-actions

    This issue will be closed and archived in 3 days, as there has been no activity in the last 60 days.
    If this issue is still relevant or you would like to see it actioned, please respond and we will re-open this issue.
    If this issue is critical to your business, consider joining the Premium Support Program where a Service Level Agreement is offered.

  12. added
    stale
    on Nov 20, 2021
  13. removed
    stale
    on Nov 20, 2021
  14. qroft commented on Jan 19, 2022

    @qroft

    Hi Luke,
    i am too noobish to know if what i found out fits into your request for integrating the sanitizer or if this is a bug
    that i have encountered.
    I have allowed the SVG file type inside the cms.php configuration.
    When i try to upload a SVG file through the Media manager A) i do not get an error B) the file is not listed and uploaded.

    So as a workaround i thought: let's upload my 6 SVG files manually via FTP.
    What happens is A) the files are uploaded B) the Media manager shows me "6 item(s)" to the right of the folder but when i C) enter the folder, no images are shown.

    Now when i call the full path of the uploaded SVG, it is shown.
    In short: the SVG is uploaded and can be used, but the Media manager does not show it.

  15. 4 remaining items

  16. shadow5og commented on Apr 3, 2022

    @shadow5og

    Hello There

    Any update on this?

  17. bennothommo commented on Apr 4, 2022

    @bennothommo
    Member

    @shadow5og not at this stage, but you can enable SVG support in the Media Manager now if you wish by configuration change:
    https://wintertricks.com/tricks/enable-svg-support-in-media-manager

  18. shadow5og commented on Apr 4, 2022

    @shadow5og

    Alright Brother!

  19. github-actions commented on Oct 4, 2022

    @github-actions

    This issue will be closed and archived in 3 days, as there has been no activity in this issue for the last 6 months.
    If this issue is still relevant or you would like to see it actioned, please respond within 3 days.
    If this issue is critical for your business, please reach out to us at wintercms@luketowers.ca.

  20. added
    stale
    on Oct 4, 2022
  21. removed
    stale
    on Oct 4, 2022
  22. LukeTowers commented on Dec 5, 2022

    @LukeTowers
    MemberAuthor

    Initial support added in wintercms/storm#61, awaiting further integration with the media library.

  23. github-actions commented on Jun 6, 2023

    @github-actions

    This issue will be closed and archived in 3 days, as there has been no activity in this issue for the last 6 months.
    If this issue is still relevant or you would like to see it actioned, please respond within 3 days.
    If this issue is critical for your business, please reach out to us at wintercms@luketowers.ca.

  24. added
    stale
    on Jun 6, 2023
  25. added and removed
    stale
    on Jun 6, 2023
  26. removed
    enhancement
    on Oct 3, 2024
  27. LukeTowers commented on Jun 2, 2025

    @LukeTowers
    MemberAuthor

    Implemented in 8445b84

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions