fix type error on hotel new form, provide photo galleries for posts