Project

General

Profile

Actions

Patch #30177

closed

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

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

Status:
Closed
Priority:
Normal
Assignee:
Category:
Attachments
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

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

Actions #1

Updated by Go MAEDA almost 6 years ago

  • Target version set to Candidate for next major release
Actions #2

Updated by Go MAEDA almost 6 years ago

  • 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.

Actions #3

Updated by Go MAEDA almost 6 years ago

  • Assignee set to Go MAEDA
Actions #4

Updated by Go MAEDA almost 6 years ago

  • Status changed from New to Closed

Committed the patches. Thank you for improving Redmine.

Actions

Also available in: Atom PDF