In my CMS it is possible to create a new article, and choose an image to be shown on that article. When an image is chosen, a thumbnail of the image will automatically be cr
I believe XPath functions operating on string might help you. I would try with some simple replace or translate.
replace
translate