{"id":13697030,"url":"https://github.com/nikini/ionic-gallery-modal","last_synced_at":"2025-05-03T17:32:55.011Z","repository":{"id":57153169,"uuid":"78153445","full_name":"nikini/ionic-gallery-modal","owner":"nikini","description":"Ionic Gallery Modal (to show all your photos)","archived":false,"fork":false,"pushed_at":"2019-02-06T19:38:02.000Z","size":55,"stargazers_count":164,"open_issues_count":28,"forks_count":80,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-04-18T12:43:55.055Z","etag":null,"topics":["gallery","ionic2","ionic3"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nikini.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-01-05T22:30:22.000Z","updated_at":"2025-04-15T22:04:08.000Z","dependencies_parsed_at":"2022-09-06T08:52:04.033Z","dependency_job_id":null,"html_url":"https://github.com/nikini/ionic-gallery-modal","commit_stats":null,"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikini%2Fionic-gallery-modal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikini%2Fionic-gallery-modal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikini%2Fionic-gallery-modal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikini%2Fionic-gallery-modal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nikini","download_url":"https://codeload.github.com/nikini/ionic-gallery-modal/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251391251,"owners_count":21582134,"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":["gallery","ionic2","ionic3"],"created_at":"2024-08-02T18:00:51.865Z","updated_at":"2025-05-03T17:32:54.738Z","avatar_url":"https://github.com/nikini.png","language":"TypeScript","readme":"# This project is no longer being maintained!\n\nIf you need a nice, professional library, please use [photoswipe.js](https://github.com/dimsemenov/photoswipe)\n\n[![npm](https://img.shields.io/npm/l/express.svg)](https://www.npmjs.com/package/ionic-gallery-modal)\n[![NPM Version](http://img.shields.io/npm/v/ionic-gallery-modal.svg?style=flat)](https://www.npmjs.org/package/ionic-gallery-modal)\n[![NPM Downloads](https://img.shields.io/npm/dm/ionic-gallery-modal.svg?style=flat)](https://www.npmjs.org/package/ionic-gallery-modal)\n\n# Ionic Gallery Modal\n\nIt consists of a modal that will help you make gallery preview modal.\nLast tested with Ionic 3.13.0\n\n## Demo\n\n![demo-ionic-3-gallery-modal](http://i.imgur.com/7iqiC1n.gif)\n\n## Example\n\n* [View live example](http://cip.chat/ionic-gallery-modal-demo/)\n* [Fork example repository](https://github.com/nikini/ionic-gallery-modal-demo)\n\n## Installation\n\nInstall it using npm\n\n```\nnpm install ionic-gallery-modal --save\n```\n\nand then, within your application module \n\n```\nimport * as ionicGalleryModal from 'ionic-gallery-modal';\nimport { HAMMER_GESTURE_CONFIG } from '@angular/platform-browser';\n```\n\nand add the `GalleryModalModule` to your imports\n\n```\nimports: [\n  //...\n  ionicGalleryModal.GalleryModalModule,\n  //...\n],\n```\n\nand to your providers\n\n```\nproviders: [\n  //...\n  {\n    provide: HAMMER_GESTURE_CONFIG,\n    useClass: ionicGalleryModal.GalleryModalHammerConfig,\n  },\n  //...\n],\n```\n\n## Usage\n\nTo open the module just use the [Ionic ModalController](https://ionicframework.com/docs/v2/api/components/modal/ModalController/)\n\n```\nimport { ModalController } from 'ionic-angular';\nimport { GalleryModal } from 'ionic-gallery-modal';\n```\n\n```\nlet modal = this.modalCtrl.create(GalleryModal, {\n  photos: photos,\n  initialSlide: index\n});\nmodal.present();\n```\n\n## Options\n\nThe possible options for it are:\n\n```\n{\n  photos: Array[{ \n    url: string, \n    type: string,\n  }],\n  closeIcon: string,\n  initialSlide: number,\n}\n```\n\n## Problems or suggestions\nLet us know or submit a PR! And, please, don't hesitate to contribute. :heart:\n\n## Changelog\n\n#### v0.2.1\n * Fixed a bug which caused the production build to not work\n\n#### v0.2.0\n * Changed to work with Ionic 3.5\n * Added the GalleryModalModule\n * Made it possible to close the modal by swiping down\n * Gallery items can now have title (as a description)\n\n#### v0.1.0\n * Changed to work with Ionic 3.2\n * Fixed an issue that was causing an error when building ionic app with `--prod` flag on\n * Changed the whole building system for the plugin\n\n#### v0.0.7\n * Changed to work with Ionic 2 RC-5\n * Made a temporary fix for orientationchange bug in ios\n * Fixed a problem that was causing apps to not build\n\n## Credits\nCiprian Mocanu - [@nikini](http://github.com/nikini)\n","funding_links":[],"categories":["Components","Complete projects","UI"],"sub_categories":["Images"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikini%2Fionic-gallery-modal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnikini%2Fionic-gallery-modal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikini%2Fionic-gallery-modal/lists"}