adding image downloading to basic sample.