-
-
Notifications
You must be signed in to change notification settings - Fork 67
What to do when dezoomify rs says "Could not get any tile for the image"
Sometimes an image download seems to be starting successfully in dezoomify-rs, but it ends prematurely with an error that says "Could not get any tile for the image". Sometimes the error message is preceded by error messages mentioning "network error".
This happens when dezoomify-rs has found the zoomable image protocol according to which the individual image tiles should be requested, it has made the requests, but they all failed.
When dezoomify-rs tries downloading all the small tiles that compose a large image, it makes a lot of requests to the site on which the image is hosted, very fast. Sometimes the site cannot or does not want to handle all these simultaneous requests and responds with error messages instead of the actual image tiles.
- You can make dezoomify-rs request a single image tile at a time with the command-line option
--parallelism 1
-
--retries 5
to retry each tile download 5 times before giving up -
--retry-delay 5s
to wait 5s when a tile download fails before retrying -
--timeout 60s
to not give up tile a tile download before having stayed at least 60s without answer from the web server
If you are using the generic or the custom YAML dezoomer, and you see 404 errors, the problem is probably with your input to dezoomify-rs.
You should check that the URL pattern you are giving to dezoomify-rs corresponds to actual image URLs that you can load in your web browser, and you can follow the generic dezoomer tutorial or the custom YAML dezoomer tutorial.