![]() |
Bug with Image_lib.php - images with new_image set with full path produce bad dest path - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html) +--- Thread: Bug with Image_lib.php - images with new_image set with full path produce bad dest path (/thread-20292.html) |
Bug with Image_lib.php - images with new_image set with full path produce bad dest path - El Forum - 07-04-2009 [eluser]Helmet[/eluser] Sorry, poorly written subject. This is the problem: http://ellislab.com/forums/viewthread/119945/ Quote:This looks like a bug in Image_lib.php (v1.7.1) Bug with Image_lib.php - images with new_image set with full path produce bad dest path - El Forum - 07-04-2009 [eluser]Helmet[/eluser] This is mostly invalid. I have found the problem in my case, my new filenames did not include the file extensions (they are generated from the original file name plus a timestamp, and as a left-over from an old script, did not have the extensions reattached to the name). Image_lib.php was assuming the value of new_image was a directory, despite the lack of a trailing slash. |