Okay delete the upgrade script. You can rebuild missing thumbnails but the photos now appear fine
http://www.macfora.com/gallery/
Check to ensure in setting 83 of the settings table you have the correct vbulletin table prefix set. Most likely you still have your invisionboard prefix there
Your main issues besides the fact of running the upgrade script over and over do not come from the upgrade. It is coming from the fact you are switching integrations midstream