Repository: pimcore/pimcore (language: php)

Issue:
[Feature]: Asset Mapping Handles PSD Files
### Feature description

Right now the type mapper (from mime type to pimcore type) does not handle psd files (based on extension). It relies on mime type:
https://github.com/pimcore/pimcore/blob/0432752703286be076d8e2b1a8490c4aeafc1a06/bundles/CoreBundle/config/pimcore/default.yaml#L196-L198

It does handle `ai` files by extension. The issue is there may be cases where the mime type on the psd is missing and it would be ideal to fallback based on the known extension.


Discussion / hints:

Fix patch:
diff --git a/bundles/CoreBundle/config/pimcore/default.yaml b/bundles/CoreBundle/config/pimcore/default.yaml
index 92d2a0375e8..63f29e5795c 100644
--- a/bundles/CoreBundle/config/pimcore/default.yaml
+++ b/bundles/CoreBundle/config/pimcore/default.yaml
@@ -196,7 +196,7 @@ pimcore:
                     matching: [ "/\\.dwg$/", "/\\.stp$/" ]
                 image:
                     class: \Pimcore\Model\Asset\Image
-                    matching: ['/image/', "/\\.eps$/", "/\\.ai$/", "/\\.svgz$/", "/\\.pcx$/", "/\\.iff$/", "/\\.pct$/", "/\\.wmf$/", '/photoshop/']
+                    matching: ['/image/', "/\\.eps$/", "/\\.ai$/", "/\\.psd$/", "/\\.svgz$/", "/\\.pcx$/", "/\\.iff$/", "/\\.pct$/", "/\\.wmf$/", '/photoshop/']
                 archive:
                     class: \Pimcore\Model\Asset\Archive
                     matching: ['/zip/', '/tar/']


Test patch: