adding photo resource
file uploading