adding image helper class