Skip to content
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

Added option to add thumbnail #13

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Added option to add thumbnail #13

wants to merge 2 commits into from

Conversation

Ovi
Copy link

@Ovi Ovi commented May 16, 2019

We can now provide an array of objects in order to supply thumbnail of the images:

<FbImageLibrary images={[
  { url: 'imageURL', thumbnail: 'imageThumbnailURL' },
  { url: 'imageURL', thumbnail: 'imageThumbnailURL' },
  { url: 'imageURL', thumbnail: 'imageThumbnailURL' },
]}

thumbnail will fallback to url

However, if we just want to show images we can pass them as an array of strings:

<FbImageLibrary images={[
  'imageURL',
  'imageURL',
  'imageURL',
]}

Remember me in your prayers ❤️
Resolves #11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Thumbnails links to a full size image
1 participant