I have an idle photopost license, so I'm going to use this.
I used your import script and it worked good.
Vbgallery seems to be coded rather poorly (compared to photopost). Yes it works good, but there are situations that render it buggy.
So now everything is going good. I just have to try and figure out how to force photopost to rename uploads.
I found the imgchk portion in the uploadphoto.php, but I'm not able to figure it out.
I think photopost is a far superior product..