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

problems with pictures

Jake Bunce

XenForo moderator
Staff member
#2
There is no configurable option. You need to modify the js:

js/xenforo/attachment_editor.js

Add the red code:

Code:
f.preventDefault();b.attr("name")=="thumb"?(f="[ATTACH]"+c+"[/ATTACH] \n",
c='<p> <img src="'+e+'" class="attachThumb bbCodeImage" alt="attachThumb'+c+'" /> </p>'):(f="[ATTACH=full]"+c+"[/ATTACH] \n",c='<p> <img src="'+a+'" class="attachFull bbCodeImage" alt="attachFull'+c+'" /> </p>');