Skip to content

Commit 8aa3a10

Browse files
committed
move trail images documentation, rename and reformat headings slightly to fit with new docs layout
1 parent 13250fd commit 8aa3a10

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,18 @@
1-
# Images
2-
3-
## How are trail pictures picked in Frontend?
1+
# How are trail pictures picked in Frontend?
42

53
Use the rules below like a filter to narrow down the content api response into a list of candidate images.
64
From the candidate images, choose the master 5:3 image, or simply the largest 5:3 if a master wasn't found.
75

8-
### Default rules
6+
## Default rules
97
1. Use the trail pic (known in content api as 'image element with thumbnail relation'), if it contains an image with width >= 460.
108
2. Use the main picture.
119
3. Use the image from the first embedded video
1210
4. Fall back to small trail pic.
1311

14-
### For a Gallery
12+
## For a Gallery
1513
1. Only use the thumbnail.
1614

17-
### For a Facia card
15+
## For a Facia card
1816
1. Use the Image override if specified.
1917
2. If the card is a Gallery, use the Gallery behaviour.
20-
3. Use the default rules.
18+
3. Use the default rules.

docs/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939

4040
##[Features and components](06-features-and-components/)
4141
- [SteadyPage JS utility](06-features-and-components/01-steadypage-js-utility.md)
42+
- [How are trail pictures picked in Frontend?](06-features-and-components/02-trail-images.md)
4243

4344
##[Performance](07-performance/)
4445
- [Performance reading list](07-performance/01-performance-reading.md)

0 commit comments

Comments
 (0)