How to show manufacturer image beside the drivers standing?

Posts: 72
***** SOLVED *****

Hi everyone,


I want to thank you for opening that forum,
First of all i am not a coder, when u talk about script, sadly it's like chinese to me... but i managed to achieve a great overlay so far with the already
scripted function of the software...
Now, i am to the point my top 15 ticker on the left side is DONE, on our latest overlay (that wasn't build by me obviously) beside each drive of the top 15 the manufacturer image ( ford, ferrari, chevrolet ) show there... in ATVO i cannot find the way to do that.

So here is my question, does this really need a script to operate? if no, how can i trigger ATVO to know this driver, drive a chervrolet so show me the chevy icon.

Take note that i already have all manufacturer icons in a folder.

Thank you very much



Edited (3 times)
Posts: 785
You do not need a script to make this work, just dynamic images should be enough.

All you need is to make your Label / SubWidget and go to Dynamic Background. There you can select a Data Binding that the dynamic background is going to bind to. For this, you select any property that somehow tells you which car it is. For example the car ID, or the car name, or more.

Next, you need to specify the Path which translates your property (e.g. car ID or car name) to a filepath, relative to your theme's Images folder. Put the {0} macro where the binding output should go.

For example, if you have cars with ID 1, 2 and 3 (no idea which those are but just an example), you would store the images for example in:
"(Your theme folder)/Content/Images/cars/1.png"
"(Your theme folder)/Content/Images/cars/2.png"
"(Your theme folder)/Content/Images/cars/3.png"

Then your Data Binding should be Car ID and your Path should be "cars/{0}.png"

To figure out which car IDs (or names) you have you can use the Data Explorer. Expand the followed/standing dataset and look for the car ID entry.
Posts: 72
Wow Nick ! I really appreciate your help man ! Didn't expect you to answer that fast to a newbie!

I'll give a try and i should make a guide of everything i learn to do as a non-coder that would be helful for those who do not know visual code.

If i finish my overlay i'll try put that together, cause i know you have a lot of work!
Edited (2 times)
Posts: 72
Nick Thissen wrote:
You do not need a script to make this work, just dynamic images should be enough.

All you need is to make your Label / SubWidget and go to Dynamic Background. There you can select a Data Binding that the dynamic background is going to bind to. For this, you select any property that somehow tells you which car it is. For example the car ID, or the car name, or more.

Next, you need to specify the Path which translates your property (e.g. car ID or car name) to a filepath, relative to your theme's Images folder. Put the {0} macro where the binding output should go.

For example, if you have cars with ID 1, 2 and 3 (no idea which those are but just an example), you would store the images for example in:
"(Your theme folder)/Content/Images/cars/1.png"
"(Your theme folder)/Content/Images/cars/2.png"
"(Your theme folder)/Content/Images/cars/3.png"

Then your Data Binding should be Car ID and your Path should be "cars/{0}.png"

To figure out which car IDs (or names) you have you can use the Data Explorer. Expand the followed/standing dataset and look for the car ID entry.

here's what i have now... it seem logic to me what u said, everything seem okay but the image are not showing....
If you see something wrong let me know.

Thank you very much






Posts: 785
You must be connected to the sim (so iRacing must be running) and the editor must be in Debug mode ("Play" button) for any bindings (including dynamic images) to work. Maybe that's it?
Posts: 72
Yeah everything is on and the sim is running...the debug mode (play button) also Well i'll try to figure this.... Thanks
Edited (1 time)
Posts: 785
Try to put as Path something fixed like "cars/1.png". Does that work at least?
Posts: 72
Nick Thissen wrote:
Try to put as Path something fixed like "cars/1.png". Does that work at least?

I recorded what i do, so you can see more precisely what i am doing.


https://youtu.be/2mNppwXEGbM
Edited (5 times)
Posts: 72
i think i know my mistake.... i'll keep u update if i am right.
Posts: 72
Okay! Nick,

It's sometime hard to admit stupid mistake but as it could avoid those same mistake to other persons i think it is good to explain it.

When working on my project i saved backup file more than 1 time being afraid of loosing everything...
I didn't realized that i was working in another folder as ATVO copy all your files to prevent any loss for your backup, so at first i looked at
my default forlder:  /user/atvo/theme/images/cars but all files were moved to the backup folder : user/atvo/backup theme/images/cars ...as soon as i copied the folder cars in the backup images folder boom ! it worked !


Sorry for that but i really appreciate your help so now this issue is resolved!



So i will stop posting on this topic as this is resolved.



Edited (1 time)
A quick reminder: questions like this should go in the General Theme Editor Forum.
Posts: 72
Simon Grossmann wrote:
A quick reminder: questions like this should go in the General Theme Editor Forum.

Oh okay... sorry i wasn't sure the best place for question about that.


Edited (1 time)
Posts: 25
Hey Laflèche - Do you mind telling me where you got the manufacturer logos and ID's from? Or was this something you took the time to do?
Posts: 61
John Ambrose III wrote:
Hey Laflèche - Do you mind telling me where you got the manufacturer logos and ID's from? Or was this something you took the time to do?
You can find the IDs on the website of iracing itself:


And for the logo's, just google em :)
Edited (2 times)
Posts: 25
Thanks. Although I knew that part of it. I just didn't know if there was something already compiled and available, and that's what I was asking.
dynamic dynamic image dynamic images