is the page supposed to display single posts?… then according to the WordPress Codex Docs you will have to rename your file from
gallery-post.php to single-gallery.php
Now if it is just a post-format you will have to register it in your functions.php file and see if that works.
I hope it helps.