add visibility property to photos