how to convert to canvas & image url code example Example: get image url from canvas var dataURL = canvas.toDataURL();