update Ruby syntax for image helper.