Added image functionality