Skip to content

Commit

Permalink
decoding default in system/config/system.yaml and system/blueprints/c…
Browse files Browse the repository at this point in the history
…onfig/system.yaml for the images.defaults.decoding value
  • Loading branch information
pmoreno.rodriguez committed Feb 1, 2024
1 parent 2dd71cf commit 5d3407a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
11 changes: 11 additions & 0 deletions system/blueprints/config/system.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1300,6 +1300,17 @@ form:
auto: Auto
lazy: Lazy
eager: Eager

images.defaults.decoding:
type: select
size: small
label: PLUGIN_ADMIN.IMAGES_DECODING
help: PLUGIN_ADMIN.IMAGES_DECODING_HELP
highlight: auto
options:
auto: Auto
sync: Sync
async: Async

images.seofriendly:
type: toggle
Expand Down
1 change: 1 addition & 0 deletions system/config/system.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ images:
retina_scale: 1 # scale to adjust auto-sizes for better handling of HiDPI resolutions
defaults:
loading: auto # Let browser pick [auto|lazy|eager]
decoding: auto # Let browser pick [auto|sync|async]
watermark:
image: 'system://images/watermark.png' # Path to a watermark image
position_y: 'center' # top|center|bottom
Expand Down

0 comments on commit 5d3407a

Please sign in to comment.