Skip to content

更新或重新命名曾上傳的在 img/** 的圖片不會被轉換或刪除 #13

@YuevUwU

Description

@YuevUwU

問題描述

設計 #11 時的原意是為了防止開發者想要手動上傳WebP以及 #12 的問題,因此不更新既有圖片
然而如題,這存在一個可能隱藏的問題
或許用 git diff 方案的話能隨著 #12 一同修復?

目前實作上其他在 img 的照片也不會被覆蓋

臨時解決方案

手動刪除 converted/img 下對應的 WebP 圖片

實作建議

當前社團圖片有自己的防止二次上傳的邏輯(diff)
請考慮實作時將機制統合為一

甚至可考慮只用 FFmpeg 與 ImageMagick 6 其中一個

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions