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:

Rich (BB 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>');
 
Top