diff --git a/Themes/default/scripts/jquery.sceditor.smf.js b/Themes/default/scripts/jquery.sceditor.smf.js
index ff7ec8e107..612b4d085b 100644
--- a/Themes/default/scripts/jquery.sceditor.smf.js
+++ b/Themes/default/scripts/jquery.sceditor.smf.js
@@ -730,14 +730,14 @@ sceditor.formats.bbcode.set(
if (typeof attrs.height !== "undefined")
attribs += ' height="' + attrs.height + '"';
- var contentUrl = smf_scripturl +'?action=dlattach;attach='+ id + ';type=preview;thumb';
+ var contentUrl = smf_scripturl +'?action=dlattach;attach='+ id + ';preview;image';
contentIMG = new Image();
contentIMG.src = contentUrl;
}
// If not an image, show a boring ol' link
if (typeof contentUrl === "undefined" || contentIMG.getAttribute('width') == 0)
- return '' + content + '';
+ return '' + content + '';
// Show our purdy li'l picture
else
return '';