XF 1.5 How to replace images for visitors?

Greetings everyone.

I don't want to show images in my forum's threads to visitors. Instead show them an image that indicates them to register to see image.

(I don't want to use any add-on for this, if possible please give example code)
 
Back
Top Bottom