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

Authorized remote images are not optimized in Markdown #7539

Closed
1 task
1574242600 opened this issue Mar 21, 2024 · 2 comments · Fixed by #8177
Closed
1 task

Authorized remote images are not optimized in Markdown #7539

1574242600 opened this issue Mar 21, 2024 · 2 comments · Fixed by #8177

Comments

@1574242600
Copy link
Contributor

1574242600 commented Mar 21, 2024

Astro Info

Astro                    v4.5.8
Node                     v18.18.0
System                   Linux (x64)
Package Manager          unknown
Output                   static
Adapter                  none
Integrations             none

If this issue only occurs in one browser, which browser is a problem?

No response

Describe the Bug

Use standard Markdown![alt](src) syntax in your .md files. This syntax works with Astro’s Image Service API to optimize your local images and authorized remote images.
https://docs.astro.build/en/guides/images/#images-in-markdown-files

Although the documentation says it will optimise "your local images and authorized remote images", it doesn't actually optimise authorized remote images.

What's the expected result?

Authorized remote images will be optimized in Markdown.

Link to Minimal Reproducible Example

https://stackblitz.com/edit/github-pqjmye

Participation

  • I am willing to submit a pull request for this issue.
@OliverSpeir
Copy link
Contributor

OliverSpeir commented Mar 22, 2024

Thank you for bringing this up currently remote images in Markdown are not processed by Astro’s Image Service. The docs here are misleading, sorry about that.

@Princesseuh Princesseuh transferred this issue from withastro/astro Mar 22, 2024
@Princesseuh
Copy link
Member

Yeah, processing remote images in Markdown / MDX / Markdoc using the native syntax is currently not supported. It has never been since the feature has been introduced, so the docs is wrong on the matter

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

Successfully merging a pull request may close this issue.

3 participants