Img-upload directive size canvas