Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Template Questions /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Cropped image radius - is this possible?

Go to End

2 Posts   1203 Views


Community Member, 34 Posts

26 August 2011 at 2:15pm

Hi There,

I am wanting to know if it is possible to upload images and then have a crop and radius (to make a circle) applied at the same time

i.e return $gd->croppedRadius(400,400);

Is this possible?

Any help would be greatly appreciated. Cheers!


Community Member, 34 Posts

19 September 2011 at 1:13pm

To get it to work I just used CSS3

.executive-team-member {
height: 156px;
width: 156px;
-moz-border-radius: 78px;
-webkit-border-radius: 78px;
border-radius: 78px;