The way to create a fv with media ID and level

The way to create a fv with comma-separated media ID and level.

If you specify comma-separated media ids, each media will appear side by side in sequence from upper left to lower right.

media_id: 51,756,34,78,9,64,13,46,325
../_images/api_fv_sort1.png

Example of the case where various levels are specified.

media_id: 11,12,13,14,15,16,17,18,19
level   :  3, 1, 1, 3, 2, 2, 1, 1, 1

As shown in the below figure, fv is filled by some tiles in order from the upper left to bottom right, such as fitting the tile level of the specified media.

../_images/api_fv_sort2.png
  • The medias (ID=18,19) are not used in this fv, because it already is exceeding amount of fv size.
  • The part of media (id14) which run over fv size is not included in fv.
  • If there is overlap part like media id 14 and 16 in the above figure, the media that is specified later will be on.
  • If the specified media is not enough, so if the tile is lacking for fv size, black colored tile (media id = 0) is embedded into fv. However you can not purposely specify tile which have media id=0.