Hello
You can just create a new ibay and install a fresh copy of gallery in it just use the gallery zip file un-zip it on another computer and upload it to the sme server the go through the install setup
You can also take a look at coppermine it sets up easy and has pretty nice features took about 10 minutes to setup
http://coppermine.sourceforge.net/hope this helps