add agentviews
only show gallery if there are photos