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
jackvine  
#1 Posted : Friday, September 2, 2022 5:33:05 PM(UTC)
jackvine

Rank: Newbie

Groups: Registered
Joined: 9/2/2022(UTC)
Posts: 3
United Kingdom
Location: London

Hi All

Im using JSON live data to populate my Graphics thet I have made in GT, all works great.

But is there a way to trigger a logo to appear ?

One of the Data fields is nationality and I want it to be able to display a flag, where currently it only displays the 3 digit country code.

Any help appreciated
doggy  
#2 Posted : Saturday, September 3, 2022 4:26:19 AM(UTC)
doggy

Rank: Advanced Member

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

Thanks: 284 times
Was thanked: 920 time(s) in 759 post(s)
Originally Posted by: jackvine Go to Quoted Post
Hi All

Im using JSON live data to populate my Graphics thet I have made in GT, all works great.

But is there a way to trigger a logo to appear ?

One of the Data fields is nationality and I want it to be able to display a flag, where currently it only displays the 3 digit country code.

Any help appreciated


All depends where you flag images are located
if in localfolder have the named like the nationality from your data source
say data is GBR and the flag is GBR.png just link within the title image format (datasource) as c://{0}.png for example and refering to the country code data source field

This has been addressed multiple times
jackvine  
#3 Posted : Sunday, September 4, 2022 4:37:57 AM(UTC)
jackvine

Rank: Newbie

Groups: Registered
Joined: 9/2/2022(UTC)
Posts: 3
United Kingdom
Location: London

Thanks for the reply, the flags are on local drive and I can get them to appear if I create a preset with the correct flag.
What Im trying to achieve Is getting the flag to auto populate from the Json data, I have 180 entries for dont want to create that many presets.

Thanks
doggy  
#4 Posted : Sunday, September 4, 2022 5:14:13 AM(UTC)
doggy

Rank: Advanced Member

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

Thanks: 284 times
Was thanked: 920 time(s) in 759 post(s)
Originally Posted by: jackvine Go to Quoted Post

What Im trying to achieve Is getting the flag to auto populate from the Json data.

Thanks


like i explained and in multiple posts in this forum . we do it all the time. Beats using the full filename https://www.vmix.com/help23/index.htm?DataSourcesImages.html







gbrflag.jpg (131kb) downloaded 2 time(s).
jackvine  
#5 Posted : Sunday, September 4, 2022 4:17:25 PM(UTC)
jackvine

Rank: Newbie

Groups: Registered
Joined: 9/2/2022(UTC)
Posts: 3
United Kingdom
Location: London

Thanks very much all sorted ! I was just missing the format command !

Next question soon !
Users browsing this topic
Guest
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.