Not showing "no image" when there's no image in post.

I'd like not to show "no image" in the archive view, when there's no image in a post.

I would appreciate it if someone could tell me how to edit the code so that it would only show text in archive when there's no image.

Thank you.