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
Thanks for your great work on the unpic package. I appreciate the effort to solve image handling for everyone.
However, I find the limitation to only the most common parameters a bit restrictive. I'm looking to implement custom cropping with the Sanity CDN. Could we introduce a params prop for custom parameters? These would be added to the URL and ignored if the chosen/detected CDN doesn't support them.
Or else, how would you suggest I could go about supporting a custom crop for images?
The text was updated successfully, but these errors were encountered:
There is a prop cdnOptions, which allows params to be passed to specific CDNs. It isn't implemented for all of them, but it could be used there. It's handled in the unpic lib
Are you referring to this: https://unpic.pics/img/svelte/#cdn? Sorry for having to ask, but I'm not entirely sure how this would need to be used. I tried a couple of things with no effect. From what I understand sanity will be handled the same way imgix is handled, right? I tried using config options and passed them trough props cdn and cdnOptions
Thanks for your great work on the unpic package. I appreciate the effort to solve image handling for everyone.
However, I find the limitation to only the most common parameters a bit restrictive. I'm looking to implement custom cropping with the Sanity CDN. Could we introduce a params prop for custom parameters? These would be added to the URL and ignored if the chosen/detected CDN doesn't support them.
Or else, how would you suggest I could go about supporting a custom crop for images?
The text was updated successfully, but these errors were encountered: