How to disable images in quoted posts?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • yogesh
    Senior Member
    • May 2005
    • 471

    How to disable images in quoted posts?

    Is there a way to prevent images (from third party websites or attachments) from displaying in quoted posts?

    It makes the thread quite long and ends up increasing the page size unnecessarily, if the quoted post is on a different page.
    .
  • dougdirac
    Senior Member
    • Jul 2012
    • 425
    • 4.2.X

    #2
    My favorite guy here Joe pointed me to this useful mod on vB.org: Replace BBCode with URL in quote
    I haven't tried it myself, but supposedly it works on vB4, just not on the [video] tag.
    You can use it to replace the [img] tags to a link or the image. Pretty sure you can figure out how to replace [attach] with a link to the image as well. Unfortunately this mod is not supported, so use at your own risk. Be sure to make backups etc.

    Cheers!

    Comment

    • Guest

      #3
      Try the following in your additional.css template.

      It works for attachments, can't take an oath for [img] tags as we don't allow them in our forum.

      Code:
      div.quote_container img {
      display: none;
      }
      
      div.quote_container .inlineimg {
      display: inline;
      }

      Comment

      • yogesh
        Senior Member
        • May 2005
        • 471

        #4
        Awesome, thanks mgyver. It seems to be working for [img] tags as well
        .

        Comment

        • Guest

          #5
          Originally posted by yogesh
          Awesome, thanks mgyver. It seems to be working for [img] tags as well
          Glad to be of assistance ...

          Comment

          widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
          Working...