Image upload script for the edit deals action