Hello!
I am trying to link one’s profile from https://community.infiniteflight.com  to appear on this website: https://ifvarb.com/database.php?action=view&xid=345 
I am using the following code:
<img src=“https://sea2.discourse-cdn.com/infiniteflight/user_avatar/community.infiniteflight.com/ <? echo $z["ifc"]; ?>/120/352328_2.png” alt=“Avatar” style=“width:20px; height:20px; border-radius: 50%; vertical-align: text-bottom;”>
 
and one day it is working fine, the other day I am getting this:
Does anyone know whether there is a false statement in the code line?
             
            
              
            
           
          
            
              
                Canapin  
              
                  
                    3 Marzo, 2023 19:23
                   
                  2 
               
             
            
              Hi Thomas 
The user’s avatar URL from Discourse is:
https://sea2.discourse-cdn.com/infiniteflight/user_avatar/community.infiniteflight.com/legendaryroro88/120/704016_2.png
The output of your link, including what your PHP code returns, is:
https://sea2.discourse-cdn.com/infiniteflight/user_avatar/community.infiniteflight.com/LegendaryRoro88/120/352328_2.png
Spot the difference and it will help you solve your problem. 
             
            
              1 me gusta 
            
            
           
          
            
            
              Hello!
Thank you very much for your response.
 Coin-coin le Canapin:
 
704016_2.png
 
 
This is the user’s final ending.png. We want a code that will track everyone’s user avatar and update it on the frontend accordingly. For some weird reason, the code I am using now works fine. Tomorrow though, it might not work. This is where I am a bit confused.
             
            
              1 me gusta 
            
            
           
          
            
              
                Canapin  
              
                  
                    3 Marzo, 2023 22:07
                   
                  4 
               
             
            
              I was pointing at:
legendaryroro88 Vs LegendaryRoro88
Because when, I loaded one URL, I had an error, and the other one worked.
I assumed it was because of the capitalized letters, but now the capitalized letters link redirects to the non-capitalized one 
             
            
              2 Me gusta 
            
            
           
          
            
            
              
 Coin-coin le Canapin:
 
LegendaryRoro88
 
 
The name is something I can not change / edit, since it is automatically added to the query.