Amélioration de l'apparence de l'image de couverture en mode portrait
This commit is contained in:
@@ -24,6 +24,8 @@
|
||||
{{- $result = $image.Crop $options -}}
|
||||
{{- else if eq $action "Resize" -}}
|
||||
{{- $result = $image.Resize $options -}}
|
||||
{{- else if eq $action "Fit" -}}
|
||||
{{- $result = $image.Fit $options -}}
|
||||
{{- else -}}
|
||||
{{- errorf "media/process-image.html: unsupported image action %q for %q" $action $image.Name -}}
|
||||
{{- end -}}
|
||||
|
||||
Reference in New Issue
Block a user