Turned image into data url