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
Looks like this one, and I spotted an error with the hook_config_info() implementation, now fixed: https://github.com/backdrop-contrib/uc_csv
Backup & Migrate Import errors
Hi onyx. Rules are extensible through hooks. Take a look at the file rules.api.php, inside the rules module folder. That has quite a bit of example code. You can create new actions, new...
Rules for Developers
Well, removing those files did it, thank you for your help. But I have no idea what module uc_csv is?
Backup & Migrate Import errors