How to configure other image optimiser in Github pages? #218
Unanswered
mllamazares
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Yes, you're right. If you use an external provider you would have to upload the image there. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to integrate image optimization into my blog (using this template). The README of this repository stays:
Then, I've checked the Next.js documentation.
To use the imgix provider, I've tried the following:
Created an imgix account.
Configured a new source by this way:
Added the following in the module.exports of the next.config.js file:
https://mllamazaresblog.imgix.net/static/images/bigaf.jpg
) but the imgix server has not uploaded any image and nothing is displayed.I have the following build command in the package.json:
"build": "next build && next export",
I bet there is some missing step. Has anyone faced this problem? Is there another image provider with a smoother implementation?
Beta Was this translation helpful? Give feedback.
All reactions