question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Astro 1.0.2: In production, images are not being transformed

See original GitHub issue

Since Astro 1.0.2, the links to images transformed by astro-imagetools are broken in production only, 404. I tried referencing images from .md frontmatter as well as images within .mdx file using the <Picture /> component. While I’m getting the blurred up versions of the images, the link to the final images are all broken and no images have been transformed regardless of what the CLI tells me.

  • The path to my images resides in /public/images since Astro 0.2.x
  • Not using Astro SSR
  • Using Astro 1.0.3, "astro-imagetools": "^0.6.10" with npm

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:11
  • Comments:21 (3 by maintainers)

github_iconTop GitHub Comments

7reactions
AndreaPontrandolfocommented, Aug 19, 2022

+1. This bug is critical. It makes astro-imagetools completely unsustainable to use in the long run, because we cannot update the Astro version until this gets fixed.

5reactions
rwwagner90commented, Aug 28, 2022

@RafidMuhymin any chance we could merge #115 and release a new version? We really need support for Astro v1 here.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Astro Image component does'nt work in production in Vercel
IIRC turned out to be a bit of fiddly path weirdness, where the path was resolving correctly with one configuration in dev but...
Read more >
@astrojs/image Astro Documentation
During development, local images may not have been published yet and would not be available to hosted image services. Local images will always...
Read more >
homebrew-core - Homebrew Formulae
a2ps 4.14 Any‑to‑PostScript filter aacgain 1.8 AAC‑supporting version of mp3gain aalib 1.4rc5 Portable ASCII art graphics library aamath 0.3 Renders mathematical expressions as ASCII art
Read more >
NEXT Image not Loading in production - Stack Overflow
Make sure to follow the casing as it is, the fileName must be typed exactly similar to what it is and that would...
Read more >
Legal Notices for Astro App on iOS and Android - Amazon.com
- A statement by you that you have a good-faith belief that the disputed use is not authorized by the copyright owner, its...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found