updates to gallery_formatter
Merge branch 'master' into new_branch_name