1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.4 Make clicking an image show the full size

Discussion in 'Styling and Customization Questions' started by Alexander Firth, Oct 6, 2015.

  1. Alexander Firth

    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:

    <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)?

Share This Page