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

Optimize images #111

Open
nfroidure opened this issue Nov 29, 2022 · 2 comments · May be fixed by #126
Open

Optimize images #111

nfroidure opened this issue Nov 29, 2022 · 2 comments · May be fixed by #126

Comments

@nfroidure
Copy link
Member

nfroidure commented Nov 29, 2022

See : https://github.com/cyrilwanner/next-optimized-images Libs are outdated.

AmnezziaCS added a commit that referenced this issue Dec 6, 2022
@AmnezziaCS AmnezziaCS linked a pull request Dec 6, 2022 that will close this issue
@nfroidure
Copy link
Member Author

FYI

➜  chtijs.francejs.org git:(feat/last_twitts) cp -r public/images out/images 
➜  chtijs.francejs.org git:(feat/last_twitts) du -h -d5 out/images          
48K	out/images/images/icons
820K	out/images/images
48K	out/images/icons
1.7M	out/images
➜  chtijs.francejs.org git:(feat/last_twitts) npx imagemin-cli public/images/** --out-dir=out/images
17 images minified
➜  chtijs.francejs.org git:(feat/last_twitts) du -h -d5 out/images
48K	out/images/images/icons
820K	out/images/images
48K	out/images/icons
1.5M	out/images

AmnezziaCS added a commit that referenced this issue Dec 12, 2022
@AmnezziaCS
Copy link
Member

AmnezziaCS commented Dec 12, 2022

Pushed a new version with the compressed images.

Nevertheless, another option would be to use this ?
Other than that i really don't see what could be set up internally other than the basic <Image> Next component.

AmnezziaCS added a commit that referenced this issue Dec 13, 2022
nfroidure pushed a commit that referenced this issue Dec 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants