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 instead
This commit is contained in:
parent
ba1c4834ab
commit
c91f065be5
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue