kolber / stacey

Cheap & easy content management
http://staceyapp.com
MIT License
1.04k stars 132 forks source link

Srcset + image sizes creation #158

Open r1987 opened 6 years ago

r1987 commented 6 years ago

How or what could I implement to stacey that could give me the opportunity to create responsive images using the srcset attribute? Are there any modules/plug-ins I could use or add to the core? I'm reading that stacey is using twig and digging into this topic I see that its possible to create twig macros. As this concept is a bit unknown to me it faces a question about the image sizes itself: they should be regenerated on the server in the post folder also, right? Talking about 001-image-400x400.jpg, 001-image-150x150.jpg etc.

So my question (rather than an issue) is that has anybody faced the case where they've implemented srcset (or element) for stacey based CMS?

wesort commented 6 years ago

I've not implemented image processing with Stacey, but I have used IMGIX on a Jekyll site hosted on GitHub Pages. In that set-up the client pays nothing on the hosting but there is a monthly fee on the image processing ($10 minimum each month I believe).