Welcome Guest, Not a member yet? Register   Sign In
How to auto resize image?

Hello everyone

Im new with Codeigniter, i have a question is: how to auto resize image?

because i use CKEditor to add image into my content, and then show it on view.

But its size very large, and i try many times to search on google but i got nothing.

i want when image post by CKEditor if it large more than 400x200 it will auto resize

How can i do that?


check http://ellislab.com/codeigniter/user-gui...e_lib.html
most people will resize the image at the upload process so my question is
how are you uploading your images to the server? CI Upload lib?


@weboap thank for your reply but i dont mean that

i mean i use CKEditor to link image and display it with [IMG] tag (CKeditor do it for me)

it like when you post image on forum you have editor and you click on img tag to embed it into your post

and my situation like that, i want all my pictures post by CKeditor will be auto resize like a mod in VBBulletin Forum

Theme © iAndrew 2016 - Forum software by © MyBB