i bought a Opteka High Definition² .35x Ultra Wide Angle Fisheye lens off of ebay for my nikon d40, and i don’t know how to attach it ): how do i do it?
The Opteka .35mm fish eye is an attachment lens. This means that it doesn't go directly onto the camera body, but you have to screw it onto the front of your existing lens.
All Nikon lenses have a screw thread at the front, which is mainly there to attach filters, but you could also use it for this Opteka lens… if you ordered the Opteka in the right size.
A quick check at Amazon reveals that Opteka makes this fish eye in over a dozen versions, each with a different size screw mount. And it's not like every Nikon lens requires the same size – Nikon lenses all have a different size screw filter, too. But if you matched them up just right when you placed the order, it should fit perfectly.

The Opteka .35mm fish eye is an attachment lens. This means that it doesn't go directly onto the camera body, but you have to screw it onto the front of your existing lens.
All Nikon lenses have a screw thread at the front, which is mainly there to attach filters, but you could also use it for this Opteka lens… if you ordered the Opteka in the right size.
A quick check at Amazon reveals that Opteka makes this fish eye in over a dozen versions, each with a different size screw mount. And it's not like every Nikon lens requires the same size – Nikon lenses all have a different size screw filter, too. But if you matched them up just right when you placed the order, it should fit perfectly.
References :