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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user