Added separate gallery hook

This design is pending as pretty much all images seem to share the same
URL format despite being different kinds of images