updated _.iamge function in canvas plugin