diff options
author | Joe Mooring <[email protected]> | 2021-12-12 23:55:15 -0800 |
---|---|---|
committer | GitHub <[email protected]> | 2021-12-13 08:55:15 +0100 |
commit | a037be774d567c6a29cc7f10c94c9f746ca6d2aa (patch) | |
tree | f3cce8092065f76ff6f369167515c6cec2f94479 /resources/images | |
parent | 8a005538db5789e25ba2b092104b6cc53c6c1ece (diff) | |
download | hugo-a037be774d567c6a29cc7f10c94c9f746ca6d2aa.tar.gz hugo-a037be774d567c6a29cc7f10c94c9f746ca6d2aa.zip |
Improve handling of remote image/jpeg resources (#9278)
Add jpe, jif, and jfif to image/jpeg extensions.
For remote image/jpeg without extension, always use jpg extension.
Closes #9275
Diffstat (limited to 'resources/images')
-rw-r--r-- | resources/images/config.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/resources/images/config.go b/resources/images/config.go index 88790e3c4..c8990d5ca 100644 --- a/resources/images/config.go +++ b/resources/images/config.go @@ -34,6 +34,9 @@ var ( imageFormats = map[string]Format{ ".jpg": JPEG, ".jpeg": JPEG, + ".jpe": JPEG, + ".jif": JPEG, + ".jfif": JPEG, ".png": PNG, ".tif": TIFF, ".tiff": TIFF, |