Board Thread:Support Requests - Getting Technical/@comment-27468767-20200709025034

I'm trying to display an image in infobox using the page name as default and it only display in some instances.

Displaying:

https://westland-survival.fandom.com/wiki/Gunslinger_boots

Not displaying:

https://westland-survival.fandom.com/wiki/Sheriff%27s_boots

The code I'm using for the image:

I'd tried with other pages but not all display the image. From my observation it is the ( ' ) that causing the problem but if I enter the title manually the image can correctly be displayed. I expect not to edit the infobox title every time when the page name changes.

Is there anything wrong with my code? What can I do to correct the problem? 