Setting allowed media gallery file extensions 

Specify the list of photo and video file extensions users are allowed to upload to media galleries. This is optional.


About this task

The extensions in these lists by default are the only currently supported extensions. See the Supported media formats in Media Gallery technote for the official list of supported extensions.


Procedure

  1. Check out and open widgets-config.xml. See Use the widgets-config.xml file for Communities.

  2. To specify photo extensions, add or remove them from the value attribute of the <item name="validPhotoExts" value="jpg,jpeg,gif,png" /> element.

  3. To specify video extensions, add or remove them from the value attribute of the <item name="validVideoExts" value="mp4,mov,flv" /> element.

  4. Check in widgets-config.xml.


Parent topic

Configure media galleries


Related tasks


Use the widgets-config.xml file for Communities

Related reference
Media gallery widget widgets-config.xml definition

+

Search Tips   |   Advanced Search