Your bbcode link is using displayimage.php not the true image path as it does on a default vBGallery install. I do not know if there is a hack or switch in vBGallery to allow this switch but I can tell you under vbulletin admin options you must set
ALLOW DYNAMIC IMAGE TAGS to YES in the image tag in
VB admin options