{"id":18311073,"url":"https://github.com/dmitriyakkerman/simple-gallery","last_synced_at":"2025-04-09T12:11:05.414Z","repository":{"id":144074470,"uuid":"156392459","full_name":"dmitriyakkerman/Simple-gallery","owner":"dmitriyakkerman","description":"Simple product-cart gallery with the main image and the set of other images of the product","archived":false,"fork":false,"pushed_at":"2020-05-06T09:27:37.000Z","size":3477,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-02-15T06:16:52.595Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/dmitriyakkerman.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":"2018-11-06T14:02:40.000Z","updated_at":"2020-05-06T09:27:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"dabc83f2-f457-4d46-ae14-8ea923661ff0","html_url":"https://github.com/dmitriyakkerman/Simple-gallery","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmitriyakkerman%2FSimple-gallery","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmitriyakkerman%2FSimple-gallery/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmitriyakkerman%2FSimple-gallery/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmitriyakkerman%2FSimple-gallery/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dmitriyakkerman","download_url":"https://codeload.github.com/dmitriyakkerman/Simple-gallery/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248036066,"owners_count":21037092,"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-05T16:16:22.269Z","updated_at":"2025-04-09T12:11:05.387Z","avatar_url":"https://github.com/dmitriyakkerman.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"**Example**\n\nhttps://codepen.io/mickyholbrook/pen/GRpQpjB\n\n1.Markup. Create the root element with any selector, put inside the container element and your images:\n\n      \u003cdiv class=\"my-gallery\"\u003e\n        \u003cdiv\u003e\n          \u003cimg src=\"assets/img/img1.jpg\"\u003e\n          \u003cimg src=\"assets/img/img2.jpg\"\u003e\n          \u003cimg src=\"assets/img/img3.jpg\"\u003e\n          \u003cimg src=\"assets/img/img4.jpg\"\u003e\n        \u003c/div\u003e\n      \u003c/div\u003e\n      \n2.Add main styles im HEAD tag:\n\n      \u003clink rel=\"stylesheet\" href=\"assets/css/simple-gallery.css\"\u003e\n \n3.Add main Javascript code in the end of BODY tag:\n\n      \u003cscript src=\"assets/js/simple-gallery.js\"\u003e\u003c/script\u003e      \n      \n4.Initialization. Init gallery by specifying the root selector:\n\n      \u003cscript\u003e\n\n        document.addEventListener('DOMContentLoaded', function() {\n          new SimpleGallery({\n            el: document.querySelector('.my-gallery')\n          })\n        })\n\n      \u003c/script\u003e     \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdmitriyakkerman%2Fsimple-gallery","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdmitriyakkerman%2Fsimple-gallery","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdmitriyakkerman%2Fsimple-gallery/lists"}