adding image upload option, almost works...