FILENAME: Get Base Filename from Path SMT

Miva Knowledge Base
Want to start an online store? We work with you from start to finish, from commerce platform to design to SEO.
Experience counts, and we have a lot.
Important Notice: This information is for internal reference only. Use at your own risk.

FILENAME: Get Base Filename from Path SMT

Scot Ranney • August 06, 2025


<mvt:assign name="l.settings:filepath" value="'https://domain.com/shopping/graphics/00000001/my_image_name.jpg'" />
<mvt:do file="g.module_library_utilities" name="l.filename" value="basename(l.settings:filepath)" />

https://www.scotsscripts.com/mvblog/filename-get-base-filename-from-path-smt.html

mvkb_filename mvkb_smt