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'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.

Template Questions /

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

Cropped image radius - is this possible?


Go to End


1069 Views

Avatar
RichMcNabb

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!