Backgrounds dont work, at all

Posts: 10
I'm having a weird issue or a stroke, i must be missing something obvious.
I've been trying for hours to get Dynamic images working in my theme, i'm using a spreadsheet and using a iracing id/club id(not iracing)/club name to show the correct photo for each driver, and it shows the correct id in label as text from the spreadsheet but doesn't show the image.
Nothing works, ive been all over this forum and i'm convinced it should work as i've set it up but it just doesn't, i dont see any background at all.

As i understand it, i only need to copy the images to the theme folder, not add them all through the editor. Right?

So i made a fresh theme, copied the images to the theme folder, skipped the spreadsheet bindings and tried the iracing id binding on both a label and sub-widget, with a path: "Content/Images/photos/{0}.jpg" and that didn't work either.
Then i made sub-widget and gave it a static color and well i don't even see the background of that sub-wiget. what going on... why can't i even make the widgets or labels colored??

Saw something about the sub-widget possibly not being visible, but i dont find any setting related to that. i can see the label text in the widget but no backgrounds.
Posts: 10
Ok, got the static background working. when i selected brush, the opacity bar on the right was all the way down. now i can atleast make a static background that isn't gradient, dumb mistake.
but still the dynamic background is not working.

Trying to do a photo of followed driver

data binding: DriverID
Path: Content/Images/photos/{0}.jpg (spelling correct) image name is iracing id

images are located in <c:/user....ThemeEditor/Themes/2022F3/Content/images/photos/(id).jpg

i'm doing checks by having iRacing running a replay of a friend i know the id of. i have tripple checked the id is right in the photo name.
Posts: 10
... hopefully this will help others hahaha. Note that i have no coding skills at all!

2019 - i tried for so many hours to get dynamic images to work. So. Many. Hours!
2020 - again... MANY hours trying to find out what i was doing wrong, reading this forum like i was getting paid to do this.
2021 - 9 damn hours just going crazy over the fact that i know how to do it. but it just doesn't work for me. FML!

Then it hit me when i copied a windows path into atvo...
"oh, so i use \ not / in the path"

so "Content/Images/photos/{0}.jpg" Does not work
but "Content\Images\photos/{0}.jpg" Works perfect

Literally 30+hours trying to figure this out over the last two years and then as soon as i reach out for help, i figure it out my self.
I tried everything but a backwards dash.
Posts: 785
That's a bit strange because both ways should work fine. I will look into that! Thanks for the heads up and glad you got it working!
Posts: 10
so...

path "C:\Users\aroni\Documents\Appgineer.in\Theme Editor\Themes\2022F3Mót\Content\Images\photos\{0}.jpg"
Works fine

path "Content\Images\photos\{0}.jpg"
Doesn't work
images are located in <c:\user....ThemeEditor\Themes\2022F3\Content\images\photos\(id).jpg
any ideas why it doesn't work that way?
Posts: 62
Hey Aron,

I "think" it's because ATVO is clever enough to have context on the type of object you're mapping, so your parent folder here is actually "\Images"

so, what happens if you try binding to:

"\photos\{0}.jpg"

also, in your examples, Images is capitalized in your first string, but lower case in the second, and it is case sensitive.

Posts: 10
Nick, didn't see your comment before my last one.
Seems it might just have been the full path i needed to make it work, not the backwards or forward dash after all.
But only the full path works.
Since it works with the full path i've been building the theme full time and the first race is tomorrow so haven't had time to test this more.


Hi Jeremy, no that doesn't work either. just the full path seems to works for me.
yes, only the example was wrong, the actual full path i had was right in ATVO. as it worked as a full path.
Thanks!
Posts: 62
Hey Aron .. that's strange because the relative path works for me ... maybe try some more tests after your first race .. good luck with the broadcast!