Skip to content

Deploy on Netlify fails #922

Answered by h-enk
ntemposd asked this question in Support
Oct 11, 2022 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Doks v0.5 is using Hyas images v0.2.2 for processing images.

Add to ./config/_default/params.toml:

# Images
imageResponsive = true
imageConvertTo = "webp"
imageImageSizes = ["480","720","1080","1280","1600","2048"]
singleSize = false
imageAddClass = "img-fluid lazyload blur-up"

### Image template
defaultImage = "default-image.png" # put in `./assets/images/`
fillImage = "1270x740 Center" # normalize image size

Now, it should work (tested locally only)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ntemposd
Comment options

Answer selected by ntemposd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants