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

Setting external source as a default source? #47

Open
frankfuu opened this issue Jul 22, 2018 · 2 comments
Open

Setting external source as a default source? #47

frankfuu opened this issue Jul 22, 2018 · 2 comments
Labels

Comments

@frankfuu
Copy link

frankfuu commented Jul 22, 2018

Thanks for this fork! It's great!

Is there an easy way to set an external source (public read only access to an Azure blob storage location in my case) as the DEFAULT_SOURCE?

I currently have have an environment EXTERNAL_SOURCE_FOO = "https://mylocation.blob.core.windows.net" and this works great but that means I would need to append efoo at the front of every url like http://localhost/efoo/path/to/my/photo.png

I tried modify DEFAULT_SOURCE = S3 to DEFAULT_SOURCE = FOO but visiting http://localhost/path/to/my/photo.png doesn't work

@teohhanhui
Copy link
Contributor

teohhanhui commented Jul 23, 2018

As you can see this repository hasn't been maintained for a while now...

Perhaps you could try these other libvips-based alternatives like:

* They also have a (free) hosted service: https://images.weserv.nl/

@frankfuu
Copy link
Author

frankfuu commented Jul 23, 2018

hi @teohhanhui, thanks for your suggestions! I'll look into them as an alternative but I actually went ahead and forked your repo and added my personal requirement of add ability to set any external web url as internal url and optionally set it as default.

I also forked your docker build as well while I was at it.

This is my first time writing NodeJS code so it's a bit of a rough job sorry. Not even sure if it's worth a pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants