Description of the need
At present, if you have uploaded SVG files to use on site, these show as though the file can't be found:
As a content author I want to be able to preview SVG images when I go to add an image to a content item through the "Select from Image Library dialog" So that I can check I'm inserting the right image
As a content author I want to see light coloured SVG images against a dark background and vice versa So that I can easily see what the SVG will look like
Proposed solution
When viewing the Select from Image Library dialog, SVG files are rendered against a light or dark background depending on the dominant colour, or user could have an option to switch background colour.
Alternatives that have been considered
If you go to manage files, you can click on view and see them displayed as an entity.
Is there a Drupal or Backdrop contributed module that accomplishes this? Not aware of any. The SVG Image Support module adds support for fields but doesn't have any impact here.
Additional information
Add any other information or screenshots that would help.
Draft of feature description for Press Release (1 paragraph at most)
Backdrop now includes support for previewing SVG files when you are selecting an image from the image library to add to content. The background is adjustable so you can preview easily even if the image is the same colour as the page background.
Recent comments
I currently look after 97 Backdrop sites... 37 Drupal sites that need migrating... 17 WordPress sites... 23 tiny HTML sites (holding pages/simple intros) a few Wix and Squarespace sites...
Happy Birthday Backdrop CMS - Share your projects!
Having built around 25 websites in Drupal 7, I have been delighted with the process of upgrading them to Backdrop CMS over the past couple of years. Most notable are the following...
Happy Birthday Backdrop CMS - Share your projects!
Thanks (again)!
Webform - how to remove user name & date at top