Get image data in background