Project

General

Profile

Actions

Patch #30177

closed

Thumbnail lifecycle: reuse thumbs from identical files, delete thumbs when diskfile is deleted

Patch #30177: Thumbnail lifecycle: reuse thumbs from identical files, delete thumbs when diskfile is deleted

Added by Jens Krämer almost 8 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Attachments
Target version:

Description

These patches improve thumbnail handling in two aspects:

  • By changing the naming scheme for thumbnails to not use the attachment ID anymore, already generated thumbnails for identical attachments will be reused.
  • The second patch adds code to remove any thumbnails when the original attachment file is deleted from disk. Without this patch, thumbnails of deleted attachments are never deleted.

Files

Updated by Go MAEDA almost 8 years ago Actions #1

  • Target version set to Candidate for next major release

Updated by Go MAEDA almost 8 years ago Actions #2

  • Target version changed from Candidate for next major release to 4.1.0

LGTM. We can save disk space with this patch. Setting the target version to 4.1.0.

Updated by Go MAEDA almost 8 years ago Actions #3

  • Assignee set to Go MAEDA

Updated by Go MAEDA almost 8 years ago Actions #4

  • Status changed from New to Closed

Committed the patches. Thank you for improving Redmine.

Actions

Also available in: PDF Atom