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

Image component not working when used wthin Server Islands with CF Adapter #13158

Open
1 task
monaye opened this issue Dec 12, 2024 · 0 comments
Open
1 task
Labels
needs triage Issue needs to be triaged pkg: cloudflare Related to the Cloudflare adapter

Comments

@monaye
Copy link

monaye commented Dec 12, 2024

Astro Info

Astro                    v5.0.5
Node                     v22.12.0
System                   macOS (arm64)
Package Manager          npm
Output                   static
Adapter                  @astrojs/cloudflare
Integrations             none

Describe the Bug

As I mentioned here : withastro/adapters#454 (comment)

Image does not load, when Image component are used in Server Islands (server:defer) enabled component.

Minimal reproducible example here :
https://github.com/monaye/astro-server-islands/tree/server-island-cf

and deployed to:
https://f844fa98.astro-server-islands-3dq.pages.dev/

This is working in Astro v4 with CF Adapter v11.
https://github.com/monaye/astro-server-islands/tree/server-island-cf-v4

https://464206f0.astro-server-islands-3dq.pages.dev/

What's the expected result?

Image should load.

Link to Minimal Reproducible Example

https://github.com/monaye/astro-server-islands/tree/server-island-cf

Participation

  • I am willing to submit a pull request for this issue.
@ematipico ematipico transferred this issue from withastro/adapters Feb 7, 2025
@github-actions github-actions bot added the needs triage Issue needs to be triaged label Feb 7, 2025
@ematipico ematipico added the pkg: cloudflare Related to the Cloudflare adapter label Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs triage Issue needs to be triaged pkg: cloudflare Related to the Cloudflare adapter
Projects
None yet
Development

No branches or pull requests

2 participants