added gallery for posts