File tree 2 files changed +6
-7
lines changed
06-features-and-components
2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change 1
- # Images
2
-
3
- ## How are trail pictures picked in Frontend?
1
+ # How are trail pictures picked in Frontend?
4
2
5
3
Use the rules below like a filter to narrow down the content api response into a list of candidate images.
6
4
From the candidate images, choose the master 5:3 image, or simply the largest 5:3 if a master wasn't found.
7
5
8
- ### Default rules
6
+ ## Default rules
9
7
1 . Use the trail pic (known in content api as 'image element with thumbnail relation'), if it contains an image with width >= 460.
10
8
2 . Use the main picture.
11
9
3 . Use the image from the first embedded video
12
10
4 . Fall back to small trail pic.
13
11
14
- ### For a Gallery
12
+ ## For a Gallery
15
13
1 . Only use the thumbnail.
16
14
17
- ### For a Facia card
15
+ ## For a Facia card
18
16
1 . Use the Image override if specified.
19
17
2 . If the card is a Gallery, use the Gallery behaviour.
20
- 3 . Use the default rules.
18
+ 3 . Use the default rules.
Original file line number Diff line number Diff line change 39
39
40
40
##[ Features and components] ( 06-features-and-components/ )
41
41
- [ 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 )
42
43
43
44
##[ Performance] ( 07-performance/ )
44
45
- [ Performance reading list] ( 07-performance/01-performance-reading.md )
You can’t perform that action at this time.
0 commit comments