Talk:"Thumbnails" container

From TrainzOnline
Jump to: navigation, search

I don't think the usage of these thumbnails images is very clear. Is the size of the image dictating where it is used? And what is the relevance, if any, of the 0,1,2, etc positions in the container. Does the number indicate where the icon is to be used? --pcas1986 02:15, 20 September 2011 (UTC)

I have to agree, this is 'muddy waters', I can infer, only because I saw one example long ago the {identifier_ordinal: 0,1,2} is just an index of sorts, but the page would be clearer with an second example. If my conjecture is correct, something like:
thumbnails
{
 0
  {
    width 32
    height 32
    image "thumbnail-32.texture"
  }
 1
  {
    width 512
    height 512
    image "thumbnail-512.jpg"
  }
}
Would be correct, and as stated, the software will use the one closest in size to the displaying module. So what's the correct scoop? //Fabartus 21:45, 7 June 2013 (EST)


By --pcas1986 (talk) 07:11, 10 June 2013 (EST) The page does say that the size of the image basically dictates its usage. I have added part of the response I received from Chris on the container numbers. Basically they are just an identifier and have no particular meaning. i.e. container 0 doesn't mean it is a thumbnail or any other particular image type. I may update the sample after finding a valid multi container example.

Personal tools