Skip to content

Commit

Permalink
config(fix): imaging configuration
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick Kollitsch <[email protected]>
  • Loading branch information
davidsneighbour committed Oct 1, 2024
1 parent 460f0a6 commit a9219c5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions config/_default/imaging.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
# a simple and fast averaging filter appropriate for downscaling.
# See https://github.com/disintegration/imaging
################################################################################
resampleFilter = "lanczos"
quality = 85
resampleFilter = "box"
hint = 'photo'
quality = 90
anchor = "smart"

[exif]
Expand Down
4 changes: 2 additions & 2 deletions config/_default/params.toml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ limit = 3
################################################################################
[dnb.pictures]
default_image = "images/og_sitewide.png"
default_format = "webp" # one of webp, png, jpg
default_format = "jpg" # one of webp, png, jpg
# 16:9, 4:3, 1:1 or whatever ratio you want for thumbnails
# this needs to be a string and needs to be two floats separated by a colon
# aspect_ratio = "16:9"
Expand All @@ -109,7 +109,7 @@ break_points = ["520", "540"]
################################################################################
[dnb.head]
disable = []
notranslate = false # tell Google not to provide a translation for this document
notranslate = false # tell Google not to provide a translation for this document
# https://webmonetization.org/docs/getting-started
monetization = ""

Expand Down

0 comments on commit a9219c5

Please sign in to comment.