mirror of https://github.com/pixelfed/pixelfed
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Image::handleImageTransform derives the output filename from the current media_path and applies the encoder's output extension. When that differs from what is already stored (heic/avif -> jpg, or a thumbnail regenerated to a new extension), the new file landed at a different path and the previous file was left orphaned in the media directory — the source of the leftover _thumb files under public/m/_v2. Capture the path each transform supersedes and delete it after a successful write (only when the new output path differs, so we never delete what we just wrote). Remove the stale MediaDeleteLeafCleanupTest whose source change is not in the tree. |
3 weeks ago | |
|---|---|---|
| .. | ||
| Blurhash.php | 4 weeks ago | |
| Filter.php | 9 months ago | |
| Image.php | 3 weeks ago | |
| ImageDriverManager.php | 4 weeks ago | |
| License.php | 9 months ago | |