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

[import] Automatically proxy the images #42

Open
kptdobe opened this issue Oct 10, 2022 · 0 comments
Open

[import] Automatically proxy the images #42

kptdobe opened this issue Oct 10, 2022 · 0 comments

Comments

@kptdobe
Copy link
Contributor

kptdobe commented Oct 10, 2022

The Importer Guidelines describe how image can be proxied if they cannot be uploaded.
This logic could be added by default, .i.e. for all images, remove the host from the src tag and append a ?host= query param. Like this, images would be proxied by the localhost proxy server.

This would work as is but images from different hosts would be stored in the same folder structure. We probably need adobe/helix-cli#2072 for a clean approach.

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

No branches or pull requests

1 participant