How do I delete attachment thumbnails?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • thegunowner149
    Senior Member
    • Feb 2004
    • 252
    • 2.3.4

    How do I delete attachment thumbnails?

    Is there a way to delete attachment thumbnails automatically? I decided to do away with them (going inline with the full image) and they are taking up a lot of space.

    Thank you.
  • Jake Bunce
    Senior Member
    • Dec 2000
    • 46598
    • 3.6.x

    #2
    After disabling that feature, run this counter:

    Admin CP -> Import & Maintenance -> Update Counters -> Rebuild Attachment Thumbnails

    That should do it.

    Comment

    • thegunowner149
      Senior Member
      • Feb 2004
      • 252
      • 2.3.4

      #3
      Thank you sir.

      Comment

      • thegunowner149
        Senior Member
        • Feb 2004
        • 252
        • 2.3.4

        #4
        Actually, that didn't do it

        Any other ideas?

        Comment

        • Freddie Bingham
          Former vBulletin Developer
          • May 2000
          • 14057
          • 1.1.x

          #5
          You'll have the run a query to empty the field, assuming you have them in the database.

          UPDATE attachment SET thumbnail = '', thumbnail_dateline = 0, thumbnail_filesize = 0

          If you have them in the filesystem, then you'll need to do something from the shell like:

          rm -rf *.thumb

          Comment

          widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
          Working...
          😀
          😂
          🥰
          😘
          🤢
          😎
          😞
          😡
          👍
          👎