Preset option is not taken into account
See original GitHub issueHi,
here are details about the preset option problem I faced :
What happens ?
The hero preset is found (no “unfound preset” error) but doesn’t modify the image (image keeps its initial size)
Reproduction
<template>
<nuxt-img preset="hero" src="/my-image.jpg" />
</template>
/* nuxt.config.js */
export default {
image: {
presets: {
hero: {
modifiers: {
fit: "cover",
format: "jpg",
width: 800,
height: 300,
},
},
},
},
};
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Presets are not appearing in Lightroom - DVLOP Support
Please go to the presets panel and click on the three dots and double-check to make sure "hide partially compatible presets" is left...
Read more >No option to create preset or copy settings
Hi there, i downloaded some presets but I do not have the option to create preset when I click on the three dots...
Read more >How To Find Missing Develop Presets In Adobe Lightroom ...
How To Find Missing Develop Presets In Adobe Photoshop Lightroom ClassicAre your Adobe Photoshop Lightroom Classic Develop Presets missing?
Read more >How To Add & Install Presets into Lightroom
*Note: It should take you to the location below for your computer. Turn on your show hidden files option to be sure you...
Read more >Save frequently used print settings for routine printing on Mac
For example, you can create a print job preset for printing a monthly report and others for printing envelopes or booklets. These presets...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Thanks for issue. Should be fixed in next release.
Hi,
the
sizesproperty doesn’t seem to work inpresets.Nuxt version: 2.15 Nuxt Image version: 0.4.14 CodeSandbox (l.39 and below)
Output from
<nuxt-img/>when a preset withsizesis applied:<img src="/_ipx/featured.jpeg?sizes=sm:90vw+md:80vw+lg:30vw" alt="Clothes displayed on bed">