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

MG 1.1 How to view full size media a new tab

Discussion in 'Media Gallery Support' started by 6686, Dec 12, 2015.

  1. 6686

    6686 Member

    How to view full size media with the target_blank

    Thanks you.
  2. Chris D

    Chris D XenForo Developer Staff Member

    Right click the media and click "Open in new tab" or hold down Ctrl or Cmd while left clicking the image.
  3. 6686

    6686 Member

  4. rafass

    rafass Well-Known Member

    Hello Chris, I would like to add the target_blank directly in the template in this button: Screen Shot 2016-03-06 at 2.21.54 PM.png
    I've been digging into the templates but I can't find it that part of the code. could you please give me a hand?
  5. Chris D

    Chris D XenForo Developer Staff Member

    It's not that simple. That button is actually a JS trigger.

    You would have to change the button URL to be the same as the media URL with /full on the end remove any class names that start with a capital letter (these signify a JS trigger for something) and then add target blank.

Share This Page