Open xrotwang opened 9 years ago
Ok. I understand thumbnail creation a bit better now, I guess. It seems as if thumbnails are always created as image/jpeg
- which is a good idea. I would still consider it more consistent, if the original resolution would also get a URL with normalized (lowercased) extension. This would also apply, say, 4-letter extensions of filenames (.tiff
or .jpeg
) which might be normalized to the three-letter one.
But maybe that would just mean creating some under-specified informal API, which when people come to rely on it will come back to haunt us ...
@xrotwang @bastiensaquet i guess this issue is not relevant any longer? Shall we close it?
I found the following inconsistency when trying to infer the file URLs for thumbnails from the URL of the original:
I.e. the file name extension of the original (
.JPG
in uppercase) is retained for the imeji URL, but a lowercased extension is used for the web and thumbnail resolutions. This may be due to the conversion utility used to create these, but I think consistent naming would be desirable.