logo

Live Production Software Forums


Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
burie  
#1 Posted : Sunday, April 7, 2019 6:53:51 PM(UTC)
burie

Rank: Advanced Member

Groups: Registered
Joined: 2/18/2019(UTC)
Posts: 54
Germany

Thanks: 5 times
Was thanked: 2 time(s) in 2 post(s)
Hi!

I have an (sports) XML data source with multiple rows and a column called 'label'.
The data in it is for example 'Ferrari', 'Ford' or 'Audi'.
I also have corresponding images in a directory E:\pic\
But how can I show the pictures in a title E:\pic\ferrari.png etc.? The url is not in the data source.
There is no field to set the image source folder on harddisk.
BTW I have all images in the same folder and at the same size, these all is prepared...

Other question... how about case sensitivity? I do not really have influence on what is entered in the fields.


Thx for you help
burie
doggy  
#2 Posted : Monday, April 8, 2019 2:35:36 AM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,057
Belgium
Location: Belgium

Thanks: 283 times
Was thanked: 916 time(s) in 755 post(s)
just add the location/folder details in the format field when using a datasource, and make sure the image has the same name as the one in the datasource

similar situations have been addressed in this forum before

case sensitivity, shouldnt matter at least with my national flags it doesnt
burie  
#3 Posted : Monday, April 8, 2019 2:46:37 PM(UTC)
burie

Rank: Advanced Member

Groups: Registered
Joined: 2/18/2019(UTC)
Posts: 54
Germany

Thanks: 5 times
Was thanked: 2 time(s) in 2 post(s)
Originally Posted by: doggy Go to Quoted Post
just add the location/folder details in the format field when using a datasource, and make sure the image has the same name as the one in the datasource
so simple if you know :)
Quote:
similar situations have been addressed in this forum before
I've used the search function of these forum, but with my bad english (I'm german) obviously I've used not the right keywords. Sorry for that.
Quote:
case sensitivity, shouldnt matter at least with my national flags it doesnt
I will try it. Thanks.

But more questions....
Is there a way to split textfields out of a Data source? i.e. there is a text "Action 5 team 3"
and I only need the "5"... or is there a way to get a substring?

Regards
Burie
doggy  
#4 Posted : Monday, April 8, 2019 4:37:17 PM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,057
Belgium
Location: Belgium

Thanks: 283 times
Was thanked: 916 time(s) in 755 post(s)
Quote:
so simple if you know :)


E:\pic\{0}.png
burie  
#5 Posted : Wednesday, April 10, 2019 7:12:17 AM(UTC)
burie

Rank: Advanced Member

Groups: Registered
Joined: 2/18/2019(UTC)
Posts: 54
Germany

Thanks: 5 times
Was thanked: 2 time(s) in 2 post(s)
Originally Posted by: doggy Go to Quoted Post
Quote:
so simple if you know :)
E:\pic\{0}.png
This works until a field is empty. Then The system uses the last filled entry and shows wrong informations
I'm afraid there is no other way to fill all empty fields with "blank" for blank.png
Or is there actually an elegant way to handle empty fields?

An other question:
Are there functions to divide the contents of a field? I have a field where i need only a part of it
Can I combine 2 fields into one (I have 1 field first name and a field last name, but would like to assemble them into one output)

Sorry but in one of the tutorial videos the presenter said there is a dokumentation about this, but I didn't find it.

Greetings
burie
doggy  
#6 Posted : Wednesday, April 10, 2019 2:29:11 PM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,057
Belgium
Location: Belgium

Thanks: 283 times
Was thanked: 916 time(s) in 755 post(s)
Quote:
Or is there actually an elegant way to handle empty fields?


i don't see anything wrong using a blank image unless you want to go into coding the XAML titles ( not GT)

Quote:
Are there functions to divide the contents of a field? I have a field where i need only a part of it


No, see answer above or if you can manipulate your data source externally

One can do everything you want if you find the right workaround ( and willing to put the time in to prepare that )
burie  
#7 Posted : Friday, April 12, 2019 12:44:59 AM(UTC)
burie

Rank: Advanced Member

Groups: Registered
Joined: 2/18/2019(UTC)
Posts: 54
Germany

Thanks: 5 times
Was thanked: 2 time(s) in 2 post(s)
Originally Posted by: doggy Go to Quoted Post
i don't see anything wrong using a blank image unless you want to go into coding the XAML titles
an example: I wanna show a overlay with drivers name, Country, starting grid number... AND the manufacturer of the engine he use.
Driver A has engine X,
driver B has no information, the field "engine" is empty.
driver C has engine W.
when I show driver A, there is the logo X.png, all ok. Driver C also, the logo is W.png.
But if I wanna show driver B, then the question is what driver did i show before... if that was driver A, then driver B has an engine X. If it was driver C, then driver B has an engine W. The problem is, because of the empty field "engine" the format C:\pic\{0}.png gives me C:\pic\.png and because of this wrong filename Vmix keeps the picture shown before visible and does not hide this picture.

And I had the hoped that {0} is not the only formating code available.

Ok, obviously my only way is to edit the data source manually.

Thanks for your answer.
cassaranks  
#8 Posted : Thursday, February 4, 2021 3:12:42 AM(UTC)
cassaranks

Rank: Newbie

Groups: Registered
Joined: 8/26/2017(UTC)
Posts: 4
Location: USA

I have a problem not being able to pull images using data sources and an excel input. I created a folder with images. I created a data source using excel/CSV in the z.png (177kb) downloaded 4 time(s). z1.png (180kb) downloaded 3 time(s). z2.png (421kb) downloaded 1 time(s).data manager. I can see all the columns when I pull data source, including images and names but cannot get the images to display.
doggy  
#9 Posted : Thursday, February 4, 2021 3:26:38 AM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,057
Belgium
Location: Belgium

Thanks: 283 times
Was thanked: 916 time(s) in 755 post(s)
Originally Posted by: cassaranks Go to Quoted Post
I have a problem not being able to pull images using data sources and an excel input. I created a folder with images. I created a data source using excel/CSV in the data manager. I can see all the columns when I pull data source, including images and names but cannot get the images to display.


use another image file format!
Format/preview in the second image doesn't make sense , is not linking to an image
cassaranks  
#10 Posted : Thursday, February 4, 2021 5:03:23 AM(UTC)
cassaranks

Rank: Newbie

Groups: Registered
Joined: 8/26/2017(UTC)
Posts: 4
Location: USA

allin.png (848kb) downloaded 8 time(s).

Followed the instructions well but still cannot get images to display from links in excel/CSV file
doggy  
#11 Posted : Thursday, February 4, 2021 6:43:13 AM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,057
Belgium
Location: Belgium

Thanks: 283 times
Was thanked: 916 time(s) in 755 post(s)
Full path of the image location !
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.