Skip to content
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

Uploadcare proxy feature #1389

Open
edwh opened this issue Jun 19, 2024 · 3 comments
Open

Uploadcare proxy feature #1389

edwh opened this issue Jun 19, 2024 · 3 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@edwh
Copy link

edwh commented Jun 19, 2024

Uploadcare has a proxy feature which allows you to use the features of their resizing, format change etc, but with an image which is hosted elsewhere.

I'd like to be able to use this in conjunction with NuxtImg/NuxtPicture. At the moment I don't think this is possible. The proxy requires on the fly operations to be inserted before the source URL, and the top-level domain to be the proxy domain:

https://endpoint.ucr.io/-/preview/-/resize/500x/https://yoursite.com/assets/image.jpg

I think we'd need:

  • To be able to supply a top-level domain as a parameter to NuxtImg/NuxtPicture, rather than just as a global parameter in nuxt.config.ts
  • The code to be smart enough to insert the on the fly operations before the source URL.
@AirStair
Copy link

:(

@Baroshem
Copy link
Collaborator

Hey,

Yes it is not possible right now. Would you be open for contribution and creating a Proof of Concept PR with this change? :)

@Baroshem Baroshem added enhancement New feature or request good first issue Good for newcomers labels Dec 13, 2024
@edwh
Copy link
Author

edwh commented Dec 31, 2024

This is obviously the right question, but I have moved away from using Uploadcare. Sorry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants