Carlos Martins
Carlos Martins
@cead22 all yours!
@0xmiroslav should I review any specific proposal?
We simply replace the extension `.pdf` with `.1024.jpg`, so the resulting url is `filename.1024.jpg`. Is that what you needed?
I think we should show the first page as thumbnail, just like we do for regular pdf attachments. As for the ratio, I'm not sure what you mean. We should...
Yes, we scale the thumbnail to fit a bounding box of 1024x1024 keeping its aspect ratio and only scaling down if the image is larger than 1024px.
Should we make this external? Other contributors can propose a fix to [react-native-asset](https://github.com/unimonkiez/react-native-asset)
Asked callstack [here](https://expensify.slack.com/archives/C03UK30EA1Z/p1679351442650589)
Thanks for the update @fabioh8010!
Agreed! The steps above sound good! Let's get it started!
@neonbhai conflicts