The first $sipporiginal creates the image, but the other 2 images are not created, and no subfolders created.
Error message: "Warning: imagejpeg(images/case_images/wcdgw02092013\/large/P1040132_large.JPG): failed to open stream: No such file or directory in C:\xampp\htdocs\ForensicsDB\ScriptLibrary\lib\cImageEditor\cGD2ImageEditor.php on line 1158"
I see there's an extra backslash in this error message before the /large/
However if I leave out the subfolder part in the masks: /large/ or /thumbs/ then everything works. The 3 different sized images are created in the same variable folder.
BTW I have several posts in the last month that have not been responded to.
Thought I'd just mention that the MKDIR code block should go in between the PPU & SIPP Server Behavior code blocks, otherwise the subfolders won't be created. Initially I had the MKDIR code block before the PPU code.
I have an Ajax form that allows repeat uploads on the page, and found that the first image uploaded was not being processed after upload, because the subfolders (thumbs & large) were only created before the second image was uploaded.
I moved the MKDIR code below the PPU code and now it all works. Lots of head scratching!