Downloading several very large images crashes the app. You might want to check filesizes and if a file is too large try to get a thumbnail instead. Then download the picture when the user selects it.
You can get a content-length from the http server.
deleted by creator