css updated; addPhoto errors