{"id":21662568,"url":"https://github.com/codesyntax/ionic-react-photo-viewer","last_synced_at":"2025-04-11T23:51:27.478Z","repository":{"id":38206955,"uuid":"492197910","full_name":"codesyntax/ionic-react-photo-viewer","owner":"codesyntax","description":"Image viewer based on the photoswipe library adapted to Ionic React components.","archived":false,"fork":false,"pushed_at":"2023-05-12T06:28:15.000Z","size":37638,"stargazers_count":5,"open_issues_count":1,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-03-25T19:48:48.264Z","etag":null,"topics":["hacktoberfest","image-viewer","ionic","ionic-react","photo-viewer","photoswipe","react","react-photo-gallery"],"latest_commit_sha":null,"homepage":"https://codesyntax.github.io/ionic-react-photo-viewer/","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/codesyntax.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-05-14T11:35:27.000Z","updated_at":"2024-04-27T10:33:34.000Z","dependencies_parsed_at":"2024-11-19T06:01:29.995Z","dependency_job_id":null,"html_url":"https://github.com/codesyntax/ionic-react-photo-viewer","commit_stats":{"total_commits":57,"total_committers":2,"mean_commits":28.5,"dds":"0.19298245614035092","last_synced_commit":"65d7068e02dd610ff88a575b2bc415e4aff5a518"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codesyntax%2Fionic-react-photo-viewer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codesyntax%2Fionic-react-photo-viewer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codesyntax%2Fionic-react-photo-viewer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codesyntax%2Fionic-react-photo-viewer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codesyntax","download_url":"https://codeload.github.com/codesyntax/ionic-react-photo-viewer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248497890,"owners_count":21113984,"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":["hacktoberfest","image-viewer","ionic","ionic-react","photo-viewer","photoswipe","react","react-photo-gallery"],"created_at":"2024-11-25T10:17:01.081Z","updated_at":"2025-04-11T23:51:27.453Z","avatar_url":"https://github.com/codesyntax.png","language":"TypeScript","readme":"# Ionic React Photo Viewer\n\n##### Table of Contents\n\n* [Demo](#demo)\n* [Features](#features)\n* [Installation](#installation)\n* [Use example](#example)\n* [Props](#props)\n\n\n\u003ca name=\"demo\"/\u003e\n\n## [Demo](https://codesyntax.github.io/ionic-react-photo-viewer/?path=/story/example-ionphotoviewer--ion-avatar-item-example)\nA react component for displaying images adapted to Ionic design.\n\n\u003ca name=\"features\"/\u003e\n\n## Features:\n\n* Pinch-to-zoom capability.\n* IonAvatar and IonThumbnail support.\n* Blurred background support ([Available for Chrome and Safari](https://caniuse.com/css-backdrop-filter)).\n* IonHeader integration to adapt it to the native design.\n\n\nhttps://user-images.githubusercontent.com/26112509/168749351-b7446907-458f-424f-86c9-c5ef639353d2.mov\n\nhttps://user-images.githubusercontent.com/26112509/168749387-d7bb7b4a-f968-4e63-aaa2-876527ee6a58.mov\n\n\n\u003ca name=\"installation\"/\u003e\n\n## Installation\n```bash\nnpm install --save @codesyntax/ionic-react-photo-viewer\n```\n\n\u003ca name=\"example\"/\u003e\n\n## Use example\n```tsx\n// import component\nimport IonPhotoViewer from '@codesyntax/ionic-react-photo-viewer';\n\n// TSX\n\u003cIonItem button lines=\"none\" detail={false}\u003e\n    \u003cIonAvatar slot=\"start\"\u003e\n        \u003cIonPhotoViewer\n          title=\"Martin arrantzalea\"\n          src=\"https://upload.wikimedia.org/wikipedia/commons/thumb/9/9d/Alcedo_Atthis.jpg/1280px-Alcedo_Atthis.jpg\"\n          licenseKey='your-license-key'\n        \u003e\n            \u003cimg\n            src=\"https://upload.wikimedia.org/wikipedia/commons/thumb/9/9d/Alcedo_Atthis.jpg/1280px-Alcedo_Atthis.jpg\"\n            alt=\"Martin arrantzalea\"\n          /\u003e\n        \u003c/IonPhotoViewer\u003e\n    \u003c/IonAvatar\u003e\n    \u003cIonLabel\u003eMartin arrantzalea\u003c/IonLabel\u003e\n\u003c/IonItem\u003e\n```\n\u003ca name=\"props\"/\u003e\n\n## Props\n* title: string\n  * The title of the image.\n* src: string\n  * The source of the image in hight quality.\n* licenseKey: string\n  * The license key of lightgallery.\n* children: React.ReactNode\n  * Img element.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodesyntax%2Fionic-react-photo-viewer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodesyntax%2Fionic-react-photo-viewer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodesyntax%2Fionic-react-photo-viewer/lists"}