When trying to save a thumbnail made with GD
imagejpeg($tnImage, "../../img/thumbs/".$maxWidth."x".$maxHeight."_".$filename);
I am getting the following error:
Warning: imagejpeg() [function.imagejpeg]: Unable to open '../../img/thumbs/80x80_55865-drops.jpg' for writing: No such file or directory in /home/user/workspace/stewart/server-side/libImg.php
/home/user/workspace/img/thumbs has its permissions set to 0x777.
What can be wrong here?