yilmaz
Active member
First, you must install this plug-in
http://xenforo.com/community/thread...ttachments-pop-up-instead-of-new-window.5192/
Then edit this file
/library/XenForo/BbCode/Formatter/Base.php
Search for this: line 893
Replace it with this
http://xenforo.com/community/thread...ttachments-pop-up-instead-of-new-window.5192/
Then edit this file
/library/XenForo/BbCode/Formatter/Base.php
Search for this: line 893
PHP:
return '<img src="' . htmlspecialchars($validUrl) . '" class="bbCodeImage" alt="[img]" />';
PHP:
return '<a class="highslide" href="' . htmlspecialchars($validUrl) . '" onclick="return hs.expand(this)"><img src="' . htmlspecialchars($validUrl) . '" class="bbCodeImage" alt="[img]" /></a>';