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.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

completely custom GD image manipulation


Reply


398 Views

Avatar
Futureweb

Community Member, 233 Posts

5 September 2012 at 11:52am

Hi
I've read about the GD function in silverstgripe to do some image manipulation - however, I want to create a script that does a few other things. Actually, i'm hoping to crop images to a circle PNG with alpha surrounding the image.

there is some GD code here (http://stackoverflow.com/questions/9880503/crop-image-in-circle-php) but i just dont see how to put custom GD code into SS...

Any ideas?

Cheers

Jon