How to add thumbnails to assets.

Status
Not open for further replies.
A final Thank you to Oknotsen. To be honest I have no idea how I did it but after hours of frustration during which I broke it twice, I finally have my thumbnail and very nice it looks too. Now, if you,re wondering what I was trying to do, It will, hopefully, be a modified version of Philskene,s "Port Ogden & Northern" route which, if all goes well will be for a multiplayer session.
 
Could someone help me find out why the thumbnail is not showing up in my asset...Please ? My thumbnail's name is : thumb.jpg, it is 240(width) x 180(high), It is in the asset folder and when I commit the asset, it still don't show up. My config is listed here (in part) from the start to where the thumbnail script ends. There is not any other thumbnail script in the config script.


obsolete-table
{
}
username-fr "Quebec Central"
description-fr
holdcarz 1
kuid <kuid:198760:100405>
kind "map"
username "Quebec Central 1975's"
workingscale 0
workingunits 0
water <kuid:-1:6342>
description "TransDEM generated map"
trainz-build 3.6
category-class "YM"
region <kuid:-1:7804>
world-origin
{
latitude 46,2.67998,1
longitude 70,56.418,-1
altitude 0
}
thumbnails
{
0
{
image "thumb.jpg"
width 240
height 180
}
}

Thanks for help !
Rail4Pete
 
I tried it and it say the config is corrupted or have a missing tag ''kind''. I don't have a missing tag ''kind''...map. If the config is corrupted, how come I don't have problem using my asset ?

I'm stuck...on adding the thumbnail.

Rail4Pete
 
Status
Not open for further replies.
Back
Top