A plugin to optimize images and add width and height. #4548
unlocomqx
started this conversation in
Show and tell
Replies: 1 comment 1 reply
-
|
Hey there, this looks like a pretty good plugin! Are there only the three parameters? The only issue I have is images that aren't saved in Any way to optimize images that are stored in different folders? Looks like the build process defaults to Trynna see if organizing images in a way like this would still work: |
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi 👋
I made this plugin for my docs and wanted to share it
https://github.com/unlocomqx/vitepress-plugin-image-optimize
It generates webp image and adds the size to prevent content jumping
Config example
Output example:
If you'd like to contribute, feel free to create an issue or a pull request.
Cheers 👋
Beta Was this translation helpful? Give feedback.
All reactions