AshleyIgnatiusYeo Posted January 9, 2017 Share Posted January 9, 2017 (edited) Hi Here's the scenario. I have a "promotion" cms category with multiple promotions being created as individual pages. The default promotion page on the store front is controlled by a module showing a listing of the current promotions with a small thumbnail image. What I'm trying to do is to dynamically call the images by matching the meta name of the promotion to the image. e.g. Promotion Meta Name == promo 1 in my .tpl file I'm calling <img src="{$img_ps_dir}cms/banner-{$Item.link_rewrite}.jpg" />, where "Item" is the item in my foreach loop. This gives me <img src="https://shop-name/img/cms/promo-1.jpg" /> which is the correct image path. But on the store front nothing loads? I'm trying to use an image in my "img/cms" directory which has been uploaded through the backoffice cms. When I upload the image directly through FTP it works but not when I upload. Please let me know if I can provide any more information to better describe my issue? Greatly appreciate any help rendered. Thanks! Edited February 21, 2017 by AshleyIgnatiusYeo (see edit history) Link to comment Share on other sites More sharing options...
AshleyIgnatiusYeo Posted January 24, 2017 Author Share Posted January 24, 2017 Nobody able to help with this issue? It's causing quite a frustrating headache for me as I can't seem to figure it out! Any help to even point me in the right direction would be hugely appreciated! Thanks! 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