- Added support of non-image files in gallery.
- Improved snippet "msGallery" for display non-image files.