CodeIgniter Forums

Full Version: How to round the corners of image via Image manipulation code
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[eluser]eshban[/eluser]
Hi,

I am using Codeigniter Image Manipulation Class. I need to ask that whether codeigniter supports, to round the corners of images while cropping it.

I need exactly this format of image
http://www.roundpic.com/img/what.gif

Please guide me that how to implement this with codeigniter

Regards,
Eshban

El Forum

[eluser]umefarooq[/eluser]
Hi try the attachment file helper will help you to solve your problem

Code:
rounded_corner('images/file_name')

just pass the image path it will create rounded corner image for you thanks to this example and just convert it to helper

http://911-need-code-help.blogspot.com/2...rs-on.html