![]() |
Getting name of resized image from image library - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Getting name of resized image from image library (/showthread.php?tid=12494) |
Getting name of resized image from image library - El Forum - 10-21-2008 [eluser]Thorpe Obazee[/eluser] This is my method for uploading and then resizing. However, I need to get the name of the thumb image. How do I dynamically get the new name of the thumb image? Is there a function to get this in the image library? of course aside from doing the rename() php function. Code: function _upload_pics() Getting name of resized image from image library - El Forum - 10-21-2008 [eluser]alectrash[/eluser] whats in here? Code: $_FILES['tmp_name'] Getting name of resized image from image library - El Forum - 10-21-2008 [eluser]Thorpe Obazee[/eluser] [quote author="alectrash" date="1224624117"]whats in here? Code: $_FILES['tmp_name'] huh? Maybe I didn't explain it well. I need to get the string of the resized image. This is already after the uploading. Getting name of resized image from image library - El Forum - 10-21-2008 [eluser]Thorpe Obazee[/eluser] Anyway, I modified my code like this to get it. If anyone has a better way... don't hesitate :p Code: function _save_ad($ad_id = FALSE) |