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
- Check out and open widgets-config.xml. See Use the widgets-config.xml file for Communities.
- To specify photo extensions, add or remove them from the value attribute of the <item name="validPhotoExts" value="jpg,jpeg,gif,png" /> element.
- To specify video extensions, add or remove them from the value attribute of the <item name="validVideoExts" value="mp4,mov,flv" /> element.
- Check in widgets-config.xml.
Parent topic
Configure media galleries
Related tasks
Use the widgets-config.xml file for CommunitiesRelated reference
Media gallery widget widgets-config.xml definition