pixelastic / norska

🏔️ Custom SSG using Pug, Webpack, PostCSS and Tailwind.
https://projects.pixelastic.com/norska/
MIT License
8 stars 0 forks source link

Update documentation to include part about image placeholders #120

Closed pixelastic closed 3 years ago

pixelastic commented 3 years ago

Documentation should explain the way image placeholders are generated (using a LQIP in base64 for local images).

Maybe also specify that a custom cloudinary handle can be passed

pixelastic commented 3 years ago

And that the list of extensions to be considered as images for LQIP is defined here:

 // Files to be considered as images for lazyloading
 imageExtensions: ['.png', '.jpg'],
pixelastic commented 3 years ago
  * |                    | Local image | Remote image |
  * | ------------------ | ----------- | ------------ |
  * | Dev (placeholder)  | base64      | proxy small  |
  * | Dev (full)         | direct      | proxy full   |
  * | Prod (placeholder) | base64      | proxy small  |
  * | Prod (full)        | proxy full  | proxy full   |
  * | Disabled           | direct      | direct       |