I have a site using SIP 2 (php version 2.0.8) that works like a charm. I updated to version 2.0.9, wrote almost identical code and that version fails. I then substituted the 2.0.8 files (cGraphicMediator.php, and those in the resources and lib folders) and all went well except that the resizeEx param was not supported. I changed it to resize and all was well.
Is there something buggy about the supporting files for 2.0.9?