El Forum
07-04-2009, 02:14 PM
[eluser]Helmet[/eluser]
Sorry, poorly written subject. This is the problem:
http://ellislab.com/forums/viewthread/119945/
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)
The documentation says you can enter a full path and file name for the config option “new_image”.
In my case Image_lib.php is failing on line 1216 where imagejpeg() is trying to use the value of $full_dst_path. Where my values fed into the resize method were for example:
$config[‘source_image’] = “path/to/source/image/source_name.jpg”;
$config[‘new_image’] = “different/path/to/new/image/new_name.jpg
The value of $full_dst_path was being put together (on line 264) as
different/path/to/new/image/new_name/source_name.jpg
using the following:
$this->full_dst_path = $this->dest_folder.$filename.$this->thumb_marker.$file_ext;