mirror of https://gitlab.com/bashrc2/epicyon
No focal point
parent
89a7189d88
commit
fe2d08b50c
1
media.py
1
media.py
|
@ -308,7 +308,6 @@ def attachMedia(baseDir: str, httpPrefix: str,
|
||||||
'url': httpPrefix + '://' + domain + '/' + mediaPath
|
'url': httpPrefix + '://' + domain + '/' + mediaPath
|
||||||
}
|
}
|
||||||
if mediaType.startswith('image/'):
|
if mediaType.startswith('image/'):
|
||||||
attachmentJson['focalPoint'] = [0.0, 0.0]
|
|
||||||
# find the dimensions of the image and add them as metadata
|
# find the dimensions of the image and add them as metadata
|
||||||
attachImageWidth, attachImageHeight = \
|
attachImageWidth, attachImageHeight = \
|
||||||
getImageDimensions(imageFilename)
|
getImageDimensions(imageFilename)
|
||||||
|
|
Loading…
Reference in New Issue