Skip to content

For assets in Craft, don't preview SVG files per default #1030

@angrybrad

Description

@angrybrad

Created by: Avant la lettre (mail@avantlalettre.ch) on 2015/03/16 21:40:50 +0000
Votes at time of UserVoice import: 5


In a project I'm working on, my client uploads multiple, complex SVGs (1MB and larger) to an asset field. Since SVG preview images get resized, but not crunched down to a smaller file, the control panel loads and renders very slowly, as all SVGs are loaded in the same view.

I'd strongly prefer the old behavior (prior to 2.4*) where SVGs are displayed as an icon, or at least to have this as an option. (Or maybe even: show image for files under 200KB or so, and an icon for any file larger than that?)

I understand that the fact that image transformations don't work properly with SVGs isn't Craft's shortcoming, but as a consequence, SVGs should be treated differently.

#869

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementimprovements to existing features

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions