You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Glide is an amazing library. The only major drawback we came across during the last two years we are using it, is the "by design" problem with dynamic cropping.
Cropping (and other functionality) is being pass as a query string on the url, e.g.
yourdomain.com/image.jpg?w=300&h=300&fit=crop
The problem with all the CDN services I came across is that the standard pull/fetch service ignores the query string, so if the images are served via CDN all the custom cropping is gone!
This will solve the problem since CDN services will fetch the right data and there will be no query info to discard. It is not as SEO friendly as it could, be the CDN issue is major (at least for us).
Thanks again for this amazing library.
The text was updated successfully, but these errors were encountered:
Hi there,
Glide is an amazing library. The only major drawback we came across during the last two years we are using it, is the "by design" problem with dynamic cropping.
Cropping (and other functionality) is being pass as a query string on the url, e.g.
yourdomain.com/image.jpg?w=300&h=300&fit=crop
The problem with all the CDN services I came across is that the standard pull/fetch service ignores the query string, so if the images are served via CDN all the custom cropping is gone!
It was discussed in this post
#170
the posibility of pushing this query data within the URL, is this implemented?
e.g.
http://example.com/img/kayaks.jpg/w-800-h-500-fit-crop-s-5ac7f6163057bf1931fd5b513f797644939ece7724ee3846a27e9915f3ea5eda.jpg
This will solve the problem since CDN services will fetch the right data and there will be no query info to discard. It is not as SEO friendly as it could, be the CDN issue is major (at least for us).
Thanks again for this amazing library.
The text was updated successfully, but these errors were encountered: