DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:struct:type_media

Struct PluginTypes

Struct Plugin: Type Media

The Media type accepts internal and external media files (like images, video or PDF).

Configuration

The following configuration is available in addition to the basic type configuration:

Config Format Description
mime string A comma separated list of MIME types to accept. MIME types can be specified as beginning part only (like image/ to allow all images)
width int The pixel width to use when embedding media in the page output
height int The pixel height to use when embedding media in the page output. Will be auto computed when not specified
agg_width int The pixel width to use when embedding media in aggregations. Defaults to width
agg_height int The pixel height to use when embedding media in aggregations. Defaults to height
plugin/struct/type_media.txt · Last modified: 2016-03-31 16:53 by andi