Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Image Path In My_Changes Addon Tpl File Rate Topic   - - - - -

 
  • technoob
  • Senior Member
  • Trial users
  • Join Date: 08-Jun 15
  • 223 posts

Posted 17 July 2017 - 11:21 AM #1

I am adding an image in the path 

 

\vivashop\media\images\addons\my_changes\file1.jpg

 

 

How do i refer the same in a tpl file located in the location 

 

\vivashop\templates\addons\my_changes



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 14,006 posts

Posted 17 July 2017 - 01:08 PM #2

Full URL to the media directory can be retrieved from the $images_dir variable


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration

Certified CS-Cart RU Developer | Сертифицированный разработчик на CS-Cart Русская Версия