Well, it sounds like you're trying to use the [img] tag vs using the gallery options; that chart uses tags that the [img] ubbcode will ignore (as it contains &, ?, etc). You could try a custom tag (I'll include one below that respects absolutely none of the security checks that the standard img tag uses) or you could save the image to your hard disk and upload it to a gallery forum manually (which would be my recommendation).
Broad img-embed tag uses no security checks of the [img] tag. usage: [img-embed]image url[/img-embed]
Open libs/ubbthreads.inc.php and after:
$regexes[] = array( "#\[img\]([^?\['\"]+?)\.(gif|png|jpg|jpeg)\[/img\]#i", '<img src="\1.\2" alt="" />' );
Add:
$regexes[] = array( "#\[img-embed\](.+?)\[/img-embed\]#i", '<img src="\1" alt="" />' );