If you try to focus a beam of photons to a spot, the minimum spot size you get is in the range of the wavelength but not smaller. So the "size" of the photon is it`s wavelength.
However, gamma rays (about picometer wavelength) originate from the nuclei (1-10 femtometer length), nm-um wavelength range photons originate from the electrons around the nuclei (