{"id":21204780,"url":"https://github.com/zgoly/zviewer","last_synced_at":"2025-03-14T22:46:56.829Z","repository":{"id":181187280,"uuid":"565213660","full_name":"Zgoly/zviewer","owner":"Zgoly","description":"Allows you to open images in full screen view.","archived":false,"fork":false,"pushed_at":"2022-11-15T03:33:11.000Z","size":5,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-21T15:23:40.471Z","etag":null,"topics":["image","image-preview","image-viewer","image-zoom","preview","view","view-images","viewer","zoom","zoom-images"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/Zgoly.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,"governance":null}},"created_at":"2022-11-12T17:31:51.000Z","updated_at":"2024-01-19T17:38:51.000Z","dependencies_parsed_at":"2023-07-14T12:16:06.496Z","dependency_job_id":null,"html_url":"https://github.com/Zgoly/zviewer","commit_stats":null,"previous_names":["zgoly/zviewer"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zgoly%2Fzviewer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zgoly%2Fzviewer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zgoly%2Fzviewer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zgoly%2Fzviewer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Zgoly","download_url":"https://codeload.github.com/Zgoly/zviewer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243658186,"owners_count":20326465,"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":["image","image-preview","image-viewer","image-zoom","preview","view","view-images","viewer","zoom","zoom-images"],"created_at":"2024-11-20T20:40:09.026Z","updated_at":"2025-03-14T22:46:56.780Z","avatar_url":"https://github.com/Zgoly.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ZViewer - image viewer for JS\nZViewer allows you to open images in full screen view.\n\n**[DEMO DEMO DEMO DEMO DEMO](https://codepen.io/zgoly/full/OJEmBJR)**\n\n## Features:\n - Fast\n - Light\n - Simple\n - Beautiful\n - Comfortable\n - Free \u0026 open source\n\n# Getting started\n## Installation\nAdd this line to your HTML file:\n```html\n\u003cscript src=https://cdn.statically.io/gh/zgoly/zviewer/main/zviewer.js\u003e\u003c/script\u003e\n```\nOr if you have downloaded `zviewer.js`:\n```html\n\u003cscript src='/path/to/zviewer.js'\u003e\u003c/script\u003e\n```\n## Usage\nIt's simple - just use `zviewer(image)` function, where `image` can be:\n1. Reference to element\n2. Link to image\n\n## Examples\nImage, when clicked, opens in full screen\n```html\n\u003cscript src=https://cdn.statically.io/gh/zgoly/zviewer/main/zviewer.js\u003e\u003c/script\u003e\n\n\u003cimg onclick='zviewer(this)' src='https://picsum.photos/1920/1080/?random'\u003e\n```\n\n\u003cbr\u003e\n\nButton, when clicked, opens random image in full screen\n```html\n\u003cscript src=https://cdn.statically.io/gh/zgoly/zviewer/main/zviewer.js\u003e\u003c/script\u003e\n\n\u003cbutton onclick='window.zviewer(\"https://picsum.photos/1080/1080/?random\u0026\" + new Date().getTime())'\u003eRandom image!\u003c/button\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzgoly%2Fzviewer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzgoly%2Fzviewer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzgoly%2Fzviewer/lists"}