nuxt / nuxt/image

IPX provider is breaking image source query parameters resulting in failing SSG

Open
#944 0 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
1.5k
Forks
331
Avg merge
19h 52m
Merged PRs (30d)
9

Description

Issue :

Instagram is protecting their media URLs with query parameters.
When using nuxt generate, IPX is encoding the source breaking the query parameters in the process.

Nuxt project info :

  • Operating System: Linux
  • Node Version: v16.20.0
  • Nuxt Version: 3.6.5
  • Nitro Version: 2.6.0
  • Package Manager: npm@9.4.2
  • Builder: vite
  • User Config: modules, image
  • Runtime Modules: @nuxt/image@1.0.0-rc.1
  • Build Modules: -

Reproduction :

https://stackblitz.com/edit/github-mef1ym?file=nuxt.config.ts,app.vue,package.json

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open the StackBlitz reproduction and inspect nuxt.config.ts, app.vue, and package.json first. Trace how the IPX provider handles the Instagram media URL during generated output, then verify that source query parameters survive SSG without breaking the image request.

Written by the indexing model from the issue text.

Assessment

Tech stack
nuxt, typescript
Domain
frontend, performance
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.