or just create a [gal] tag.. that takes the URL and/or ID of the picture

usage:

[gal]URL or ID[/gal]

and it generates the proper markup for you smile