There is no sample for that, you just need to put FileGallery WebPart
in one of the zones, or use it outside of the zone, set the ParentEntityType and ParentEntityId, then you can open a popup and adjust the name, description, rating, tags etc. you can even turn on comments for that file.
Apart from the PhotoGallery page, is there any File Gallery sample where one would be able to upload various files and then edit info like title, description etc. about them?
You can set the AllowedFileExtensions
property on the PhotoGallery WebPart
, by default only image extensions are set.
Also, at web.config there's a setting for allowed upload file types, but the PhotoGallery uploader seems to have even more limited set for allowed uploads. Where is that setting and how can one change it?