Do not generate gallery markup if no photos