You can take an image of an atom but not a photo.
"In microscopy, there is a rule of thumb that the smallest things you can distinguish with a perfectly engineered microscope have to have a size about half the wavelength of the light you're shining at it. The more exact version of this is known as the
Abbé difraction limit. Visible light has wavelength of about 400-700 nanometres. This is of course about 4000-7000 times as much as the diameter of the atom, so there is indeed no way we can see an atom with a (diffraction) microscope using light."