XF 1.4 Make clicking an image show the full size

Alexander Firth

Active member
This is actually related to an add-on, but I think this is a universal HTML-type question. It's already been mentioned on the add-on thread with no response.

Anyway, the following code displays a small image in the user info block:

Code:
<img src="data/product/1444129837-money-bag-400301_640.png" style="max-width: 16px;" data-pin-nopin="true">

What would I have to add to this to make clicking that image show the full-size version in Xenforo's built-in image viewing tool (without opening new tab or otherwise coming off the page)?
 
Top Bottom