vMix Forums
»
General
»
General Discussion
»
dynamic local images with extern data sources
Rank: Advanced Member
Groups: Registered
Joined: 2/18/2019(UTC) Posts: 54 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
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,278 Location: Belgium Thanks: 295 times Was thanked: 965 time(s) in 799 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
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 2/18/2019(UTC) Posts: 54 Thanks: 5 times Was thanked: 2 time(s) in 2 post(s)
|
Originally Posted by: doggy 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
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,278 Location: Belgium Thanks: 295 times Was thanked: 965 time(s) in 799 post(s)
|
Quote:so simple if you know :) E:\pic\{0}.png
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 2/18/2019(UTC) Posts: 54 Thanks: 5 times Was thanked: 2 time(s) in 2 post(s)
|
Originally Posted by: doggy 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
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,278 Location: Belgium Thanks: 295 times Was thanked: 965 time(s) in 799 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 )
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 2/18/2019(UTC) Posts: 54 Thanks: 5 times Was thanked: 2 time(s) in 2 post(s)
|
Originally Posted by: doggy 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.
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 8/26/2017(UTC) Posts: 5 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.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,278 Location: Belgium Thanks: 295 times Was thanked: 965 time(s) in 799 post(s)
|
Originally Posted by: cassaranks 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
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 8/26/2017(UTC) Posts: 5 Location: USA
|
allin.png (848kb) downloaded 9 time(s).Followed the instructions well but still cannot get images to display from links in excel/CSV file
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,278 Location: Belgium Thanks: 295 times Was thanked: 965 time(s) in 799 post(s)
|
Full path of the image location !
|
|
|
|
vMix Forums
»
General
»
General Discussion
»
dynamic local images with extern data sources
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.
Important Information:
The vMix Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close