MyBB Community Forums

Full Version: Any way to take out images automatically from quotes?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
and replace it in the quotes with something like "see original post for images"

Lots of images are posted on my forum and I want to stop the clutter/quotes containing the images.

Very much appreciated.
you can try using jQuery for above requirement.

find </body> at the bottom of showthread template of the theme

add before (in a new line)
<script type="text/javascript">
$('blockquote img').each(function () {
$(this).replaceWith('see original post for images');

save the template & check with quoted images

Edit [Dt. 2017 April 21] : see also modified code here