Save photo informations to the server