use canvas image on the gallery