<= [[plugin:struct|Struct Plugin]] <= [[plugin:struct:type|Types]] ====== 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 [[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'' | for mime types refer to [[wp>Media type]].