add dimensions to data (#3616)
* add dimensions to data * keep alt text * put it in the right url * just send the original height and width insteadzio/stable
parent
ba1c4834ab
commit
c91f065be5
|
@ -333,7 +333,7 @@ export const ComposePost = observer(function ComposePost({
|
|||
const onSelectGif = useCallback(
|
||||
(gif: Gif) =>
|
||||
setExtLink({
|
||||
uri: gif.url,
|
||||
uri: `${gif.url}?hh=${gif.images.original.height}&ww=${gif.images.original.width}`,
|
||||
isLoading: true,
|
||||
meta: {
|
||||
url: gif.url,
|
||||
|
|
Loading…
Reference in New Issue