Jump to content

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

How Get Image Name Rate Topic   - - - - -

 
  • fafos
  • Junior Member
  • Members
  • Join Date: 26-Oct 06
  • 13 posts

Posted 09 March 2017 - 03:14 PM #1

Hi,

 

how can I get in image.tpl the image name/title without the path? (ex. product-image.jpg)

 

thank you



 
  • abolshakov
  • Architect
  • CS-Cart Architects
  • Join Date: 20-Aug 14
  • 93 posts

Posted 09 March 2017 - 08:04 PM #2

Try this:

{$image_data.image_path|basename}

Alexander Bolshakov
CS-Cart Architect Team


 
  • fafos
  • Junior Member
  • Members
  • Join Date: 26-Oct 06
  • 13 posts

Posted 10 March 2017 - 03:08 PM #3

perfect.. thank you