-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: Support for Self Hosted image manipulation server (Thumbor, Imgproxy, Imaginary) #37
Comments
Yeah, ipx too. What I want to do is introduce a more concept of a fallback transformer, which only handles transforms if it doesn't match a CDN transformer. I can take a lot of the logic out of the Vercel transformer. That would make it a lot easier to implement these. |
I'd also like to suggest my self-hosted OSS image servers Imageflow and ImageResizer; both have the same querystring command syntax. https://docs.imageflow.io/querystring/introduction.html |
+1 for imaginary. Here is their API |
I'm thinking about writing a transformer for Imaginary. I've looked at some of the other transformers to get a feel for it. I wonder if you have any advice for how this process might look, since it will be using a custom domain and then going from unpic -> unpic-img which is my goal here. |
The trouble with most of these is that they use signed URLs, which we can't support |
can we expose a function to fetch signed URLs from the backend |
You'd not be able to do that if you ever wanted to use this in the client, e.g. if you're using unpic-img |
I have implemented support for ipx. If anyone would like to add support for other self-hosted servers then I would suggest using that as an example |
Would you be open to adding support for imgproxy with unsigned URLs? It seems like setting the allowed sources can act as security measure and unpic could add the disclaimer it only works with unsigned URLs |
Absolutely! Please do. I'd need an example host for the tests though. |
I can send you a couple links from my server unless you think that's a terrible idea |
That should be fine. You can add that as part of the PR if that's ok |
Please support the open source alternatives
Thumbor
Website: https://www.thumbor.org/
Github Repo: https://github.com/thumbor/thumbor
Imgproxy
Website: https://imgproxy.net/
Github Repo: https://github.com/imgproxy/imgproxy
Imaginary
Github Repo: https://github.com/h2non/imaginary
The text was updated successfully, but these errors were encountered: