Filament Curator - curations preset
Hello @awcodes, I have a question about your plugin. Do you know if it's possible when I upload media that it automatically creates all the curations presets, i have in my curator.php config ?
Thank you for your work by the way 🙏
Solution:Jump to solution
I guess you could extend the Media model or observer to create them using the observer but that’s not really the way the plugin is meant to be used. Curation’s are meant to be one off focal point corrections for images at certain sizes. Other wise you should use the glider blade component to render the images at the sizes you need. It generates them on the fly and caches them. This keeps you from having wasted storage on your server for a bunch of image size that might not ever get served.
1 Reply
Solution
I guess you could extend the Media model or observer to create them using the observer but that’s not really the way the plugin is meant to be used. Curation’s are meant to be one off focal point corrections for images at certain sizes. Other wise you should use the glider blade component to render the images at the sizes you need. It generates them on the fly and caches them. This keeps you from having wasted storage on your server for a bunch of image size that might not ever get served.