perf(route/reuters): use downsized pictures from Reuters (#12766)

* perf(route/reuters): use downsized pictures from Reuters

* perf(route/reuters): use 1920w pictures from Reuters
This commit is contained in:
Bratislava 2023-07-08 14:09:42 +08:00 committed by GitHub
parent b6e1cf22ac
commit 28a41d61c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ Summary:
{{ each result.related_content.galleries g }}
{{ each g.content_elements e }}
{{ if e.type === 'image' }}
<figure><img src="{{ e.url }}" alt="{{ e.alt_text }}">
<figure><img src="{{ e.renditions.original['1920w'] }}" alt="{{ e.alt_text }}">
<figcaption>{{ e.caption }}</figcaption>
</figure>
{{ /if }}
@ -17,7 +17,7 @@ Summary:
{{ /each }}
{{ each result.related_content.images i }}
{{ if i.type === 'image' }}
<figure><img src="{{ i.url }}" alt="{{ i.alt_text }}">
<figure><img src="{{ i.renditions.original['1920w'] }}" alt="{{ i.alt_text }}">
<figcaption>{{ i.caption }}</figcaption>
</figure>
{{ /if }}