{"id":18103185,"url":"https://github.com/averagemarcus/photoframecomponent","last_synced_at":"2025-04-06T05:43:19.979Z","repository":{"id":57099968,"uuid":"135800981","full_name":"AverageMarcus/PhotoFrameComponent","owner":"AverageMarcus","description":"Web Component based PhotoFrame","archived":false,"fork":false,"pushed_at":"2018-06-02T10:33:23.000Z","size":30,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-13T18:05:50.318Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@averagemarcus/photo-frame","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/AverageMarcus.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":"2018-06-02T08:30:29.000Z","updated_at":"2018-06-02T10:33:24.000Z","dependencies_parsed_at":"2022-08-22T23:10:42.145Z","dependency_job_id":null,"html_url":"https://github.com/AverageMarcus/PhotoFrameComponent","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AverageMarcus%2FPhotoFrameComponent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AverageMarcus%2FPhotoFrameComponent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AverageMarcus%2FPhotoFrameComponent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AverageMarcus%2FPhotoFrameComponent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AverageMarcus","download_url":"https://codeload.github.com/AverageMarcus/PhotoFrameComponent/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247441007,"owners_count":20939235,"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-10-31T22:10:51.031Z","updated_at":"2025-04-06T05:43:19.961Z","avatar_url":"https://github.com/AverageMarcus.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PhotoFrameComponent\nWeb Component based PhotoFrame using [justified-layout](https://github.com/flickr/justified-layout) from [Flickr](https://github.com/flickr)\n\n## Example usage\n\nSource: https://glitch.com/edit/#!/photo-frame-component?path=index.html\n\nLive Demo: https://photo-frame-component.glitch.me/\n\nThe page will slowly scroll through all images and then scroll back up once it reaches the bottom (on repeat). Clicking/tapping anywhere on the page will toggle fullscreen mode.\n\n![image](https://user-images.githubusercontent.com/3384072/40873008-6a79a1de-6650-11e8-8ca2-97813ba95810.png)\n\n\n## Usage\n\n1. Include a script reference to the module:\n```js\n\u003cscript type=\"module\" src=\"https://unpkg.com/@averagemarcus/photo-frame?module\"\u003e\u003c/script\u003e\n```\n2. Add a `\u003cphoto-frame\u003e` element to your page and fill it with images:\n```html\n\u003cphoto-frame\u003e\n  \u003cimg src=\"https://placekitten.com/200/300\"\u003e\n  \u003cimg src=\"https://placekitten.com/200/300\"\u003e\n  \u003cimg src=\"https://placekitten.com/1025/800\"\u003e\n  \u003cimg src=\"https://placekitten.com/500/500\"\u003e\n  \u003cimg src=\"https://placekitten.com/250/250\"\u003e\n  \u003cimg src=\"https://placekitten.com/200/300\"\u003e\n\u003c/photo-frame\u003e\n```\n\n## Configuration\n\n**spacing** - Increase the space between images\n```html\n\u003cphoto-frame spacing=\"10\"\u003e\n  \u003cimg src=\"https://placekitten.com/200/300\"\u003e\n  \u003cimg src=\"https://placekitten.com/200/300\"\u003e\n  \u003cimg src=\"https://placekitten.com/1025/800\"\u003e\n  \u003cimg src=\"https://placekitten.com/500/500\"\u003e\n  \u003cimg src=\"https://placekitten.com/250/250\"\u003e\n  \u003cimg src=\"https://placekitten.com/200/300\"\u003e\n\u003c/photo-frame\u003e\n```\n\n## Contributions\n\nContributions welcome!\n\nFound a bug? [File an issue](https://github.com/AverageMarcus/PhotoFrameComponent/issues/new)\n\n## Running locally\n\nOnce checked out:\n1. `npm install`\n2. `npm run build`\n3. `npm run serve`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faveragemarcus%2Fphotoframecomponent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faveragemarcus%2Fphotoframecomponent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faveragemarcus%2Fphotoframecomponent/lists"}