What exactly did your computer do, you say it "went nuts", but at what stage in Photobucket was that, and what did the computer do ?
The instructions about the "IMG" code only work once you've got your photos uploaded onto a website, it won't work with your photos being only on your computer. There are loads of photo hosting websites, but Photobucket should work ok.