Skip to content

Infer file extension from icon #63

@mirh

Description

@mirh

So, I'm not really sure if there aren't certain particular upload settings enabled, but the long story short is that most common file extensions are hidden from the resources name.
This makes it difficult to filter them in the search box.

On the other hand, all files do get at least an icon on their side specific to their format (or I don't know then if there isn't a more elegant api or something).
After inspecting the page (and putting aside the website domain) I could spot these in the img src:

../theme/image.php/boostcustom/core/1683807935/f/pdf-24
../theme/image.php/boostcustom/core/1683807935/f/spreadsheet-24
../theme/image.php/boostcustom/core/1683807935/f/jpeg-24
../theme/image.php/boostcustom/core/1683807935/f/powerpoint-24
../theme/image.php/boostcustom/core/1683807935/f/text-24

(the last one might or might not be used even for unknown formats, I couldn't cross-check)

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