Managing assets

Browsing assets

You can browse the Magnolia DAM in three views:

  • Tree view

  • List view

  • Thumbnail view

Tree view displays a hierarchical tree, including the folder structure.

Magnolia Assets app - tree view

List view displays the items individually.

You can sort them alphanumerically by clicking the column headings.

Magnolia Assets app - list view

Thumbnail view displays thumbnail images of the assets. There is a zoom control at the top for resizing.

Magnolia Assets app - thumbnail view

How to handle large amount of assets

The DAM can handle a very large number of assets. However, if you have more than 20,000 assets, you should organize them into folders. If your number of assets drastically exceeds the 20,000 guideline, we recommend that you use an external storage system with our DAM Connector Pack, our DAM API, or one of our Incubator modules extensions.

How many assets should I put in a folder?

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

The most common image formats are supported, excluding:

  • 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

Video formats

The following video formats are supported:

  • video/mpeg

  • video/webm

  • video/mp4

  • video/ogg

Audio formats

The following audio formats are supported:

  • audio/mpeg

  • audio/webm

  • audio/mp4

  • audio/ogg

  • audio/aac

  • audio/aacp

  • audio/flac

  • audio/wav

  • audio/x-wav

  • audio/mp3

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

0020 SPACE

*

Asterisk (Star)

002A ASTERISK

/

Forward slash

002F SOLIDUS

:

Colon

003A COLON

[

Left square bracket

005B LEFT SQUARE BRACKET

]

Right square bracket

005D RIGHT SQUARE BRACKET

|

Vertical bar (Pipe)

007C VERTICAL LINE

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

0021 EXCLAMATION MARK

#

Number sign (Hash)

0023 NUMBER SIGN

%

Percent sign

0025 PERCENT SIGN

'

Apostrophe

0027 APOSTROPHE

(

Left parenthesis

0028 LEFT PARENTHESIS

)

Right parenthesis

0029 RIGHT PARENTHESIS

+

Plus sign

002B PLUS SIGN

/

Forward slash

002F SOLIDUS

;

Semicolon

003B SEMICOLON

?

Question mark

003F QUESTION MARK

^

Caret

005E CIRCUMFLEX ACCENT

Characters disallowed by Magnolia

Common Name Unicode Code and Name

&

Ampersand

0026 AMPERSAND

=

Equals sign

003D EQUALS SIGN

@

At sign

0040 COMMERCIAL AT

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.

Feedback

DX Core

×

Location

This widget lets you know where you are on the docs site.

You are currently perusing through the DX Core docs.

Main doc sections

DX Core Headless PaaS Legacy Cloud Incubator modules