Hey, I am trying to use the file name to display an image's title. It works fine with single words.
But: File names like "vase-red-big.jpg" should be outputted as "Vase Red Big".
@{ :basename | stripEnd('.jpg') | ucwords(str_replace("-"," ")) }
The above code doesn't work, maybe you could help me? Would be super super nice!
Thanks a lot!
L