{"id":18348702,"url":"https://github.com/paraboly/react-native-image-gallery","last_synced_at":"2025-06-15T15:02:03.097Z","repository":{"id":57135118,"uuid":"286947513","full_name":"Paraboly/react-native-image-gallery","owner":"Paraboly","description":null,"archived":false,"fork":false,"pushed_at":"2020-08-13T15:24:36.000Z","size":62082,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-21T21:11:48.303Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Paraboly.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-08-12T07:31:29.000Z","updated_at":"2023-11-03T10:48:17.000Z","dependencies_parsed_at":"2022-09-04T09:00:45.350Z","dependency_job_id":null,"html_url":"https://github.com/Paraboly/react-native-image-gallery","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Paraboly%2Freact-native-image-gallery","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Paraboly%2Freact-native-image-gallery/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Paraboly%2Freact-native-image-gallery/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Paraboly%2Freact-native-image-gallery/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Paraboly","download_url":"https://codeload.github.com/Paraboly/react-native-image-gallery/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247463744,"owners_count":20942935,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-05T21:18:52.402Z","updated_at":"2025-04-06T09:31:44.833Z","avatar_url":"https://github.com/Paraboly.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg alt=\"React Native Image Gallery\" src=\"assets/logo.png\" width=\"1050\"/\u003e\n\n[![Battle Tested ✅](https://img.shields.io/badge/-Battle--Tested%20%E2%9C%85-03666e?style=for-the-badge)](https://github.com/Paraboly/react-native-image-gallery)\n\n[![Fully customizable \u0026 easy to use Image Gallery for React Native by Paraboly](https://img.shields.io/badge/-Fully%20customizable%20%26%20easy%20to%20use%20Image%20Gallery%20for%20React%20Native%20by%20Paraboly-lightgrey?style=for-the-badge)](https://github.com/Paraboly/react-native-image-gallery)\n\n[![npm version](https://img.shields.io/npm/v/@paraboly/react-native-image-gallery.svg?style=for-the-badge)](https://www.npmjs.com/package/@paraboly/react-native-image-gallery)\n[![npm](https://img.shields.io/npm/dt/@paraboly/react-native-image-gallery.svg?style=for-the-badge)](https://www.npmjs.com/package/@paraboly/react-native-image-gallery)\n![Platform - Android and iOS](https://img.shields.io/badge/platform-Android%20%7C%20iOS-blue.svg?style=for-the-badge)\n[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg?style=for-the-badge)](https://opensource.org/licenses/MIT)\n[![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg?style=for-the-badge)](https://github.com/prettier/prettier)\n\n\u003cp align=\"center\"\u003e\n  \u003cimg alt=\"React Native Image Gallery\"\n        src=\"assets/Screenshots/React-Native-Image-Gallery-v3.gif\" height=900 /\u003e\n\u003c/p\u003e\n\n# Installation\n\nAdd the dependency:\n\n```ruby\nnpm i @paraboly/react-native-image-gallery\n```\n\n## Peer Dependencies\n\n###### IMPORTANT! You need install them\n\n```js\n\"react\": \"\u003e= 16.x.x\",\n\"react-native\": \"\u003e= 0.55.x\",\n\"@freakycoder/react-native-image-swiper\": \"\u003e= 0.1.2\"\n```\n\n# Usage\n\n## Import\n\n```jsx\nimport ImageGallery from \"@paraboly/react-native-image-gallery\";\n```\n\n## Fundamental Usage\n\n```jsx\n\u003cImageGallery\n  initialPage={0}\n  images={staticImages}\n  backButtonImageSource={backButtonImage}\n/\u003e\n```\n\n## Data Format for Images\n\nYou **MUST** use this data format to use ImageGallery.\n\n```jsx\nconst staticImages = [\n  {\n    uri:\n      \"https://images.unsplash.com/photo-1514282401047-d79a71a590e8?ixlib=rb-1.2.1\u0026ixid=eyJhcHBfaWQiOjEyMDd9\u0026auto=format\u0026fit=crop\u0026w=1001\u0026q=80\",\n    dimensions: defaultDimensions,\n    caption: \"@seefromthesky\",\n  },\n  {\n    uri:\n      \"https://images.unsplash.com/photo-1578922746465-3a80a228f223?ixlib=rb-1.2.1\u0026ixid=eyJhcHBfaWQiOjEyMDd9\u0026auto=format\u0026fit=crop\u0026w=582\u0026q=80\",\n    dimensions: defaultDimensions,\n    caption: \"@yaaniu\",\n  },\n];\n```\n\n# Configuration - Props\n\n| Property              |   Type    |  Default  | Description                                                                                                                 |\n| --------------------- | :-------: | :-------: | --------------------------------------------------------------------------------------------------------------------------- |\n| Container             | component |   View    | set your own container wrapper for the background of the whole ImageGallery. Such as; `LinearGradient` or `ImageBackground` |\n| ImageComponent        | component |   Image   | set your own component instead of Image for BackButton                                                                      |\n| backButtonImageSource |   image   | undefined | set the back button image                                                                                                   |\n| backButtonStyle       |   style   |  default  | change the back button's styling or override                                                                                |\n| backButtonImageStyle  |   style   |  default  | change the back button image' styling or override                                                                           |\n| onBackButtonPress     | function  | undefined | set your own logic when Back Button is pressed                                                                              |\n| totalPageTextStyle    |   style   |  default  | set or override your own styling for total page text                                                                        |\n| currentPageTextStyle  |   style   |  default  | set or override your own styling for current page text                                                                      |\n\n## Future Plans\n\n- [x] ~~LICENSE~~\n- [ ] `initialPage` Feature\n\n## Credits\n\nThank you so much [Unsplash](https://unsplash.com/) for every image on the example.\n\n## Author\n\nFreakyCoder, kurayogun@gmail.com\n\n## License\n\nReact Native Image Gallery is available under the MIT license. See the LICENSE file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparaboly%2Freact-native-image-gallery","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fparaboly%2Freact-native-image-gallery","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparaboly%2Freact-native-image-gallery/lists"}