Skip to content
Snippets Groups Projects
Commit a6b7fdfc authored by Arnaud Levy's avatar Arnaud Levy
Browse files

image size

parent 103102aa
No related branches found
Tags v7.3.11
No related merge requests found
......@@ -62,7 +62,7 @@
{{ with .Params.image }}
{{ $media := partial "GetMedia" .id }}
{{ if $media }}
{{ $url := partial "GetImageUrl" (dict "media" $media "size" "900" "quality" 60 ) }}
{{ $url := partial "GetImageUrl" (dict "media" $media "size" 450 "scale" 2 ) }}
<media:content url="{{ $url }}" medium="image" width="900">
{{ with .alt }}
<media:description type="plain">{{ . }}</media:description>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment