Query image size asynchronously