D
Можно подробнее? Сервер такое не умеет, смотрел. Просто размер изменить ?
Thumbnail requests
Glide’s thumbnail() API allows you to specify a RequestBuilder to start in parallel with your main request. The thumbnail() will be displayed while the primary request is loading. If the primary request completes before the thumbnail request, the image from the thumbnail request will not be shown. The thumbnail() API allows you easily and quickly load low resolution versions of your images while your full quality equivalents load, reducing the amount of time users spend staring at loading indicators.
The thumbnail() API is useful for both local and remote images, especially once the lower resolution thumbnails are in Glide’s disk cache where they can be loaded very quickly.
The thumbnail() API is relatively simple to use:
Glide.with(fragment) .load(url) .thumbnail( Glide.with(fragment) .load(thumbnailUrl)) .into(imageView);
This will work well if your thumbnailUrl points to a lower resolution image than your primary url. A number of image loading APIs offer ways for you to specify the size of the image you want in your URL, which works particularly well with the thumbnail() API.
If you’re just loading a local image, or you only have a single remote URL, you can still benefit from the thumbnail API by using Glide’s