Recadre les images verticales du thème 2026
This commit is contained in:
@@ -20,6 +20,8 @@
|
||||
{{- $options := printf "%s webp q80" $spec -}}
|
||||
{{- if eq $action "Fill" -}}
|
||||
{{- $result = $image.Fill $options -}}
|
||||
{{- else if eq $action "Crop" -}}
|
||||
{{- $result = $image.Crop $options -}}
|
||||
{{- else if eq $action "Resize" -}}
|
||||
{{- $result = $image.Resize $options -}}
|
||||
{{- else -}}
|
||||
|
||||
Reference in New Issue
Block a user