Config option for image size
Zn4rK opened this issue · 1 comments
Zn4rK commented
Hi!
Great plugin!
I would like to see an option to set which file size is used from the media library...
Something along the lines of:
const format = config.image?.format;
const url = prefixFileUrlWithBackendUrl(format && data.formats && data.formats[format] ? data.formats[format].url : data.url);
My client is always uploads high res images to the media library, and then they use those images in the content, without really thinking of changing it to be the lower res image...
What do you think?
roslovets commented
Hi! Interesting idea. Did you try?