wafaa uploaded working code for image upload 10-11-2013