Unfortunately, I’ve lost the code to this during my move from one provider to another. The gallery tutorial here was meant for WordPress 2.5 and is no longer relevant anyways. Thanks for all the comments n it though!