Change image format to gallery format.
Fix events. v1.35
Merge branch 'Gallery-add'