Skip to main content

Images - Spaces in file name within Rich Text Editors

We've fixed this in an image field specifically, but Khy has found a similar issue with images inserted from File Manager within a Rich Text field.
When image has a space in the file name, the path is broken when the whole Rich Text field is rendered.

Status: Completed11 comments

Log in to comment and vote

Comments11

  • Dean Vizer changed status to Completed
    •

    Oct 12, 2021

    Images entered from the file manager within the RTE will now automatically swap spaces for + to ensure that they display correctly

  • Dean Vizer

    •

    Oct 6, 2021

  • Dean Vizer changed status to In Progress
    •

    Oct 6, 2021

  • Nick Fenmor Collins

    •

    Apr 22, 2021

    Is it possible to add 'allowing capital letters' to this too please…across all file elements within SG.

    • Dean Vizer

      •

      Apr 22, 2021

      Nick Fenmor Collins: Can you expand on this please? Images within RTE's that have a capital in direct URL should work fine

    • Nick Fenmor Collins

      •

      Apr 22, 2021

      Dean Vizer: I'm pretty sure they don't in blogs for example

    • Dean Vizer

      •

      Apr 22, 2021

      Nick Fenmor Collins: I've just done a quick test and it seemed fine for me.
      If you've got an example of where it breaks let us know and we'll take a look

  • Dean Vizer

    •

    Jan 19, 2021

    Hey Nick Fenmor Collins
    This is currently a duplicate of https://roadmap.siteglide.com/bugs/p/images-spaces-in-file-name-within-rich-text-editors
    We'll look at updating the RTE so that it changed to the correct {{ 'file_name.jpg' | asset_url}} on save though

  • Anthony Wallace

    •

    Aug 25, 2020

    Why would we want to allow images with a space in the file name? Are we saying 'file name.jpg' is supported? when we should be insisting clients name their files correctly like 'filename.jpg', 'file-name.jpg' or 'file_name.jpg' Personally, I'd rather see Siteglide display a warning message that a file hasn't been named correctly when uploaded.

  • Dean Vizer changed status to Planned
    •

    May 6, 2020

  • Dean Vizer

    •

    May 6, 2020