K, when you upload a pic (let's say mypicture.jpg) then you have three versions: normal_mypicture.jpg (has watermark), mypicture.jpg (has watermark and is the fullsize image) and orig_mypicture.jpg (no watermark cause that's the backup file in case you want to undo watermarking). This all should work perfect with normal upload, batch modify und batch upload... at least here it does Wink
When I use "Upload file" it places the pictures in \userpics\10001 and I have 4 versions (everything from above and the thumb_ but thats not apart of this script and I understand that). The mypicture.jpg is the original with the watermark, and has a modified date of the day I uploaded it.
When I do a batch add files I get the same 4 files, in the folder i ftp'd the original into, however it wasn't modified with the watermark. So basically I have mypicture.jpg and i have orig_mypicture.jpg that are identical. The script never watermarked mypicture.jpg. mypicture.jpg still has the original file date when it was taken, not the date it was batched through like the 3 new files.
**Edit**
My pictures were not set to read/write. I did a chmod 666 for each of the pictures and then did a batch upload and it worked peachy.
I would like to know if there is a way to make it so when I do a batch upload I don't get the broken picture links that are for the "DP" signs. I would like them to show "OK" signs since they are uploading successfully, but that really is nitpicky I'm sure.
I did add one other thing to your script though for my own likes.
In picmgmt.inc.php I added this in the section where you are setting the cooridnates where the watermark will show up.
else if ($pos == "southcenter") {
$src_x = ($destWidth/2) - ($logoW/2);
$src_y = ($destHeight/2) - $logoH + 70;
}
The number 70 after $logoH slides the watermark down 70 pixels. I prefer this over having a watermark right in the center as most head shot pictures would have the watermark right across the face. Ofcourse you can change the number 70 to whatever suits your needs to move the watermark around.