Merge pull request #2133 from TheDigitalOrchard/image_lib-imagejpeg

fix imagejpeg() parameter, should be NULL instead of empty string