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

🧰 Change external image support to fetch images in real time and not build time #1713

Open
axiaoxin opened this issue Sep 3, 2024 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed in discussion

Comments

@axiaoxin
Copy link

axiaoxin commented Sep 3, 2024

Hello, I would like to set the logo image and featured image using external links. I don't want to host the images locally. However, after I configure the image URLs in the configuration file, they are downloaded locally, and the image sources are pointing to the local files, preventing them from being loaded via external links. I have tried disabling the image optimization option, but it didn't work.

Could you please let me know if displaying images via external links is supported, and how I should configure it?

@nunocoracao
Copy link
Owner

That's the current behavior for remote images. You can reference external images but they get pulled during building of the website. Changing this would be a big effort at this stage as it would require refactoring some code. I do think the request makes sense though.

Would you mind changing the text to reflect this request so that we can reuse this issue? I will change the title

@nunocoracao nunocoracao changed the title How to display images via external links? 🧰 Change external image support to fetch images in real time and not build time Sep 3, 2024
@nunocoracao nunocoracao added enhancement New feature or request help wanted Extra attention is needed in discussion labels Sep 3, 2024
@axiaoxin
Copy link
Author

axiaoxin commented Sep 4, 2024

Great, I'm looking forward to this feature. It will be very beneficial for saving bandwidth on my static website. Thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed in discussion
Projects
None yet
Development

No branches or pull requests

2 participants