There is no script to import vbulletin 4 profile photos into vbgallery. vbulletin albums thing and vbgallery have nothing to do with one another. vbGallery does not use the attachment thing in vbulletin at all. In vbGallery files are stored under the files directory of your gallery install. You would need to reupload photos into vbGallery and turn off the vbulletin albums thing under profile options in vb
admin panel main options.