translate image helper