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.

General Questions /

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

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

completely custom GD image manipulation


Go to End


811 Views

Avatar
JonShutt

Community Member, 244 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