Adding custom url && check if image has been uploaded