Billy Posted May 6, 2015 Share Posted May 6, 2015 <img src ="{$logo.image}" alt ="{l s='Logo'}" /> How can I fix this code to pull images in SSL mode when the site is in SSL mode? Here is the whole snippet... {foreach from=$logos item=logo name=posLogo} <div class="item"> <a href ="{$logo.link}"> <img src ="{$logo.image}" alt ="{l s='Logo'}" /> </a> </div> {/foreach} Link to comment Share on other sites More sharing options...
Billy Posted May 6, 2015 Author Share Posted May 6, 2015 There has got to be a code snippet that would fix these images. Like I say when I add something to the shopping cart. Then go knocks out the SSL cert. No one would buy anything from my store with this not working properly. Someone has to know how to fix this issue. Please help me out! Link to comment Share on other sites More sharing options...
Billy Posted May 7, 2015 Author Share Posted May 7, 2015 Bueller? I have been digging thru smarty 3 but have not found the correct code for .image and ssl. Link to comment Share on other sites More sharing options...
jlzamora Posted April 18, 2018 Share Posted April 18, 2018 Edit in "/modules/poslogo/poslogo.php" in line 201: Replace: $v = _PS_BASE_URL_.__PS_BASE_URI__.'img/blocklogo/'.$slideArray['id_pos_logo'].'.jpg'; by: $v = '/img/blocklogo/'.$slideArray['id_pos_logo'].'.jpg'; 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