vMix Forums
	 » 
	General
	 » 
	GT
	 » 
	Json data triggering logo
	 
	
        
            
            
    
        
	Rank: Newbie
  Groups: Registered
 Joined: 9/2/2022(UTC) Posts: 3  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  
            
	  
         
     | 
    | 
         
             
     | 
    
         
            
         
     | 
    | 
        
	
     | 
        
        
        
            
        
            
            
    
        
	Rank: Advanced Member
  Groups: Registered
 Joined: 12/27/2012(UTC) Posts: 5,453  Location: Belgium Thanks: 311 times Was thanked: 1008 time(s) in 830 post(s)
  
	 
	
     | 
    
        
            
		      
                Originally Posted by: jackvine  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  
            
	  
         
     | 
    | 
         
             
     | 
    
         
            
         
     | 
    | 
        
	
     | 
        
        
        
    
        
            
            
    
        
	Rank: Newbie
  Groups: Registered
 Joined: 9/2/2022(UTC) Posts: 3  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 
            
	  
         
     | 
    | 
         
             
     | 
    
         
            
         
     | 
    | 
        
	
     | 
        
        
        
            
        
            
            
    
        
	Rank: Advanced Member
  Groups: Registered
 Joined: 12/27/2012(UTC) Posts: 5,453  Location: Belgium Thanks: 311 times Was thanked: 1008 time(s) in 830 post(s)
  
	 
	
     | 
    
        
            
		      
                Originally Posted by: jackvine   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 4 time(s). 
            
	  
         
     | 
    | 
         
             
     | 
    
         
            
         
     | 
    | 
        
	
     | 
        
        
        
    
        
            
            
    
        
	Rank: Newbie
  Groups: Registered
 Joined: 9/2/2022(UTC) Posts: 3  Location: London  
	 
	
     | 
    
        
            
		      
                Thanks very much all sorted ! I was just missing the format command !
  Next question soon !  
            
	  
         
     | 
    | 
         
             
     | 
    
         
            
         
     | 
    | 
        
	
     | 
        
        
        
    
                           
	vMix Forums
	 » 
	General
	 » 
	GT
	 » 
	Json data triggering logo
	 
	
    
        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