[eluser]smith[/eluser]
Update:
if, for example, we have something like this:
$config['new_image'] = '/tmp/test';
Then CI will see this as a path, not as a file name, and it will create file inside /tmp/test/, the name will begin with a dot.
Even something like this:
$config['new_image'] = '/tmp/test.raw';
will not work, because CI, as far as i can see, expects valid graphic extension (jpg, gif, png etc.)
I don't like this, i don't know about you...
That is an error that kept me up all night. Same error was stopping me from resizing original image without making a copy of that file.
Look at my previous post. i was using tempnam to generate unique file inside tmp dir. tempnam doesn't allow to add extension to file name. Because file name didn't have an extension CI was using tmpfname as a directory, and created file at the wrong location.
I think this is a bug....