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:
Hailey
2024-04-18 21:32:25 -07:00
committed by GitHub
parent ba1c4834ab
commit c91f065be5
+1 -1
View File
@@ -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,