1

Is there any way to display image thumb in xslt in umbraco?

Or I just need to chop the umbracoFile value and put '_thumb' in there?

Thanks

artless noise
  • 21,212
  • 6
  • 68
  • 105
nickornotto
  • 1,946
  • 4
  • 36
  • 68

1 Answers1

1

No, you are correct in your assumption that you just need to split on the umbracoFile value and stick "_thumb" in there.

This question has a solution or two for splitting strings: xsl: how to split strings?

You would need the "Plain XSLT 1.0 solution" as Umbraco uses XSLT 1.0, or you could use the EXSLT library which is I think is available n the Umbraco project.

Community
  • 1
  • 1
Digbyswift
  • 10,310
  • 4
  • 38
  • 66