Crop image on upload |
[eluser]NateL[/eluser]
Alrighty, I'm following the sample code that the CI documentation provides. My view is spitting out an array appropriately, and now what I'm interested in is the file name that just uploaded: [file_name] => mypic.jpg So, into the image manipulation class... Code: $config['image_library'] = 'gd2'; I need the source_image to be the image I just uploaded. So, I tried this script: $config['source_image'] = './uploads/'{what goes here?} I'm not quite sure what to append on to the end of it so that it grabs the file name of the file I just uploaded.... Thanks for the help |
Messages In This Thread |
Crop image on upload - by El Forum - 02-03-2009, 11:49 PM
Crop image on upload - by El Forum - 02-04-2009, 10:04 AM
Crop image on upload - by El Forum - 02-04-2009, 11:40 AM
|