Managing assets
Magnolia’s Digital Asset Management (DAM) system is the core component that manages all your digital files within Magnolia. It’s the powerful system working in the background that stores your files, manages their metadata, handles versioning, and creates different variations (renditions) of images.
The Assets App is your window into the DAM. When you use the Assets app to upload an image, video, or document, the DAM system organizes it, stores its associated information, and makes it available for use across your digital content.
Asset storage
Magnolia offers different storage configurations based on your requirements:
-
Magnolia’s internal storage (JCR)
Your files (binaries) and their metadata (like names and tags) are stored together in Magnolia’s internal system. This is the out-of-the-box setup and works well for most projects.
-
Hybrid storage with an external provider
If you deal with a large number of files or very large files, like high-resolution videos, Magnolia can be configured to store the file metadata internally but keep the binaries in a third party tool, such as Amazon S3. Even with external binary storage, Magnolia continues to manage all asset metadata internally, which optimizes search and publishing performance.
-
Using an external DAM system
If you already use a separate DAM system (like Bynder), Magnolia can connect to it. All your binaries and metadata stay in that external system, but you can still browse and use them within Magnolia. Magnolia provides out-of-the-box connectors for S3 and Bynder, and other third-party tools can be connected using our APIs.
Regardless of the underlying storage method, the Assets app within Magnolia remains your primary interface for managing all your digital assets. This means you consistently use the same tools to view, organize, and prepare your images, videos, and documents for use across your digital content.
Browsing assets
The Assets app shows your assets in a hierarchical tree, including the folder structure.
Your Magnolia administrator can enable other views:
|
How to handle many assets
The DAM can handle a very large number of assets. However, if you have more than 10,000 assets, you should organize them into folders. If the number of assets you have drastically exceeds the 10,000 guideline, we recommend that you use an external storage system with our External DAM integration framework, our DAM API, or one of our Incubator modules extensions.
As a rule of thumb when using JCR for assets, you should keep it to about 500 assets per folder. This is independent of the asset type. So, whether it’s an image, pdf, or some other type of asset, let’s try to keep it under 500.
-
Avoid storing too many assets in the same folder. Instead, create subfolders and organize your assets. Storing too many assets within the same folder may lead to performance issues.
-
If you need a large and unstructured flat list of assets, disable the thumbnail and list views.
Supported file formats for preview generation
Image formats
Most common image formats are supported.
However, we don’t support the following formats:
-
image/x-icon
-
image/x-portable-bitmap
-
image/x-xpixmap
-
image/x-portable-graymap
-
image/x-cmu-raster
-
image/x-portable-pixmap
-
image/x-xbitmap
-
image/x-rgb
-
image/x-xwindowdump
-
image/x-cmx
-
image/cis-cod
-
image/ief
Character restrictions
Website content, asset, configuration and everything else is stored in the content repository. Each item is stored in a node. The node name is generally displayed in the first column in AdminCentral, for example the page name in the website
workspace and asset name in the dam
workspace. Besides being an internal reference to the node, the name is also used for various purposes such to create a page URL.
Character restrictions apply only to node names and not to other user-entered content. For example, you can only use certain characters in a page or asset name but any character in the page or asset title. When a disallowed character is used it is automatically substituted with a hyphen (-
).
The info.magnolia.cms.core.Path class governs
character restrictions. All alphanumeric characters (a-z
, A-Z
, 0-9
), hyphen (-
) and underscore (_
) are safe to use in node names. We recommend that you use lowercase letters separated by a hyphen.
Invalid characters
JCR 2.0 specification defines the following invalid characters in a local name.
Common Name | Unicode Code and Name | |
---|---|---|
Space |
|
|
|
Asterisk (Star) |
|
|
Forward slash |
|
|
Colon |
|
|
Left square bracket |
|
|
Right square bracket |
|
|
Vertical bar (Pipe) |
|
Node names are used to create URLs and cannot contain characters that are disallowed or have special meaning in URLs. These conventions are established by the Internet Engineering Task Force (IETF) Network Working Group on URLs.
Common Name | Unicode Code and Name | |
---|---|---|
|
Exclamation mark |
|
|
Number sign (Hash) |
|
|
Percent sign |
|
|
Apostrophe |
|
|
Left parenthesis |
|
|
Right parenthesis |
|
|
Plus sign |
|
|
Forward slash |
|
|
Semicolon |
|
|
Question mark |
|
|
Caret |
|
Characters disallowed by Magnolia
Common Name | Unicode Code and Name | |
---|---|---|
|
Ampersand |
|
|
Equals sign |
|
|
At sign |
|
Apart from the exceptions above, Magnolia allows you to use the full UTF-8 character set for node names and other properties, but UTF-8 encoding is disabled by default.
See UTF-8 in pages names for instructions on how to enable it. When enabled, all special characters and notations covered by the Unicode specification can also be used.
The dot character (full stop, Unicode 2E) can be used in node names with the single limitation that it cannot be the first character. You can create a user john.smith
, a page article.one
, a document Magnolia-Flyer-4.0.pdf
, a configuration node option.one
or a JavaScript file jquery.tabtree
.