mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-19 21:21:39 +02:00
committed by
Bjørn Erik Pedersen
parent
f75f90079a
commit
07919d1ccb
@@ -112,8 +112,8 @@ func (i *imageResource) getExif() *exif.Exif {
|
||||
|
||||
x, err := i.getSpec().imaging.DecodeExif(f)
|
||||
if err != nil {
|
||||
i.metaInitErr = err
|
||||
return
|
||||
i.getSpec().Logger.Warnf("Unable to decode Exif metadata from image: %s", i.Key())
|
||||
return nil
|
||||
}
|
||||
|
||||
i.meta = &imageMeta{Exif: x}
|
||||
|
Reference in New Issue
Block a user