hid alternate photos if only one and added edit button for admin