Creating 2 Images after upload |
[eluser]flyenig[/eluser]
How can this happen after someone uploads an image: 3 images.... Original, a medium croped image, and a thumbnail? I only know how to do the thumbnail but not a medium. has anyone done this before? thanks
[eluser]frist44[/eluser]
Look at using this library http://ellislab.com/codeigniter/user-gui...e_lib.html Just create a function an define the restricting size (width or height) and have it create it with the config properties for that image. I do the same thing when picture is uploaded. I size it down to something small that the website can display (~500px) and also create a thumbnail from it. But there would be nothing stopping me from creating another around 300px.
|
Welcome Guest, Not a member yet? Register Sign In |