[openstreetmap/openstreetmap-website] Image download with user feedback (PR #6192)
mmd
notifications at github.com
Mon Jul 21 06:23:00 UTC 2025
mmd-osm left a comment (openstreetmap/openstreetmap-website#6192)
Well, the response really has to be HTML. In case of Thunderforest where we're getting some plain text, jquery will fail with an exception "Error: Syntax error, unrecognized expression: Requested image is too large."
For the former version of the export.erb script, it would work though:
```<html>\n<head>\n<title>Error</title>\n</head>\n<body>\n<h1>Error</h1>\n<p>The server is too busy at the moment. Please wait a few minutes before trying again.</p>\n</body>\n</html>\n```
<img width="418" height="263" alt="image" src="https://github.com/user-attachments/assets/5a80a327-dfb4-4b9b-9de6-660a4b1cc070" />
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6192#issuecomment-3095378748
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/6192/c3095378748 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250720/8c651d55/attachment-0001.htm>
More information about the rails-dev
mailing list