fetch images as dataUrl with XHR and FileReader