Use the IMG code from photobucket.
But it sounds like you are heading in the right direction.