taniacr Posted November 11, 2019 Share Posted November 11, 2019 (edited) Hi, In a tpl file I added an image from my template assets: <img src="{$urls.img_url}{$social_link.label}.png" alt="{$social_link.label}"/> In my local instalation the image is correctly loaded and looks fine.. But in my live shop, despite the location of the image being corret, it's not loaded... Any ideia why? Edited November 27, 2019 by taniacr (see edit history) 2 Link to comment Share on other sites More sharing options...
taniacr Posted November 18, 2019 Author Share Posted November 18, 2019 Nobody can shed some light on this troubled and desperate soul? What is the obvious that I am missing? Link to comment Share on other sites More sharing options...
taniacr Posted November 27, 2019 Author Share Posted November 27, 2019 If someone happens to be as dumb-dumb as me, this was the problem: {$social_link.label} prints the label capitalized, like "Facebook". The filenames were uncapitalized, like "facebook". No comments... 1 Link to comment Share on other sites More sharing options...
theodiablo Posted October 16, 2020 Share Posted October 16, 2020 You just saved my life, thanks XD 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now