I use this object: <a href="$Link">$Thumbnail.SetRatioSize(86,94)</a>
On page I have <a href="/about/news/page-53/" class="dohover withicon"><img src="/assets/news-articles/thumbnails/_resampled/SetRatioSize250150-GyJ9EN4vmS8.jpg" alt="GyJ9EN4vmS8" /></a>
But i want add <class="set border"> to <img> tag. How, please, help
We've moved the forum!
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
Solved, thank you
<img src="$Thumbnail.CroppedImage(250,150).URL" class="setborder" alt="$Title" />