Fixed problem with uploading pictures.