Opened 10 years ago
Reprocessing of media should retain preview filenames
|Reported by:||saul||Owned by:|
It would be nice if the medium and thumbnail previews of an entry retained their filenames when the entry is reprocessed.
Currently if an entry is reprocessed, a new filename for the preview is generated by prepending a string representation of a 16-digit hexadecimal number to the previous preview filename. As an example, 'hippie-blanket.medium.jpg' might be renamed to 'd49ef4ff-ea43-4065-a6b4-64af149c76c0-hippie_blanket.medium.jpg'.
One of the side effects of this renaming is that URLs which have previously been linked to the original preview will no longer be valid. If Mediagoblin could retain the original filename, this unfortunate breakage could be avoided.