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.

Template Questions /

Cropped image radius - is this possible?


Reply


2 Posts   811 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!

Avatar
RichMcNabb

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;
}