-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Images rendering at lower resolution with SharedElement transition #52
Comments
I ran into the same situation when trying to use |
@tconroy @stevengoldberg Your issue is probably related to expo image caching |
Did you have a chance to fix the issue? |
Apologies, I have not had a chance to try this yet! |
If you use the |
Hello! Great work on this library, it's really helping me out a lot!
I have a problem/question, and I'm not sure if it's just my implementation or a limitation of the library.
It seems like images rendered in the gallery are low resolution.
I am using shared element transitions to do something like this:
Feed.tsx
Gallery.tsx
so,
Feed
renders small image thumbnails, and when you click on those thumbnails, it's transitioned to a full-screen modal-like view withAwesomeGallery
.my
MemoizedImage
is a wrapper around Expo-Image. When the image loads, I calculate a "scaled down" size for it (to render it in a post feed at thumbnail dimensions). i.e: if an image is1000x1000px
, I render it at200x200px
, for example.However, when in the
Gallery
view, the image is the same resolution as the thumbnail -200px
- and so zooming in on the image, you do not see much detail.Any tips on how I can fix this? I'd like the full-sized image in the "Gallery" view.
The text was updated successfully, but these errors were encountered: