how to disable comments on pictures?

Hi!

I made this website for a client some time ago. We managed to disable the option to comment on pictures and it worked to prevent spammy comments. Now the spam comments are there again. We didn't change anything, so I'm not sure how this happened. More importantly: what can I do to disable the option to comment on the pictures?

Thanks!