{"id":21344117,"url":"https://github.com/codeclou/bilderrahmen","last_synced_at":"2025-07-12T15:31:49.877Z","repository":{"id":47704836,"uuid":"81731833","full_name":"codeclou/bilderrahmen","owner":"codeclou","description":"Lightweight vanilla-JS image lightbox crafted with CSS3 and inline SVG icons for modern browsers","archived":false,"fork":false,"pushed_at":"2023-01-27T16:50:58.000Z","size":20545,"stargazers_count":21,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-10-28T15:39:37.907Z","etag":null,"topics":["gallery","image-gallery","image-lightbox","javascript","lightbox","vanilla-javascript"],"latest_commit_sha":null,"homepage":"https://codeclou.github.io/bilderrahmen/","language":"TypeScript","has_issues":false,"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/codeclou.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":"SECURITY.md","support":null}},"created_at":"2017-02-12T14:30:07.000Z","updated_at":"2024-03-18T10:09:16.000Z","dependencies_parsed_at":"2023-02-15T11:01:38.082Z","dependency_job_id":null,"html_url":"https://github.com/codeclou/bilderrahmen","commit_stats":null,"previous_names":["codeclou/cc-image-lightbox"],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeclou%2Fbilderrahmen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeclou%2Fbilderrahmen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeclou%2Fbilderrahmen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeclou%2Fbilderrahmen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codeclou","download_url":"https://codeload.github.com/codeclou/bilderrahmen/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225824587,"owners_count":17529909,"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","image-gallery","image-lightbox","javascript","lightbox","vanilla-javascript"],"created_at":"2024-11-22T01:17:17.219Z","updated_at":"2024-11-22T01:17:17.871Z","avatar_url":"https://github.com/codeclou.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bilderrahmen\n\n\u003e Lightweight vanilla-JS image lightbox for minimalists crafted with CSS3 and inline SVG icons for modern browsers.\n\n[![](https://codeclou.github.io/bilderrahmen/img/github-product-logo-bilderrahmen.png)](https://github.com/codeclou/bilderrahmen)\n\n-----\n\n\u0026nbsp;\n\n### Features\n\n * pure JavaScript, no dependencies\n * multiple galleries per page supported\n * minimal look\n * image title support\n * responsive\n * inline SVG buttons\n * MP4 video support (HTML 5 video)\n * minified: js 4.7 KB css 4.2 KB total 8.9 KB\n * gzipped: js 1.5 KB css 2.0 KB total 3.5 KB\n\n\n-----\n\n\u0026nbsp;\n\n**:sparkles: [DEMO](https://codeclou.github.io/bilderrahmen/)**\n\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://codeclou.github.io/bilderrahmen/\"\u003e\u003cimg src=\"https://codeclou.github.io/bilderrahmen/img/demo-v2.gif?v3\" width=\"80%\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n-----\n\n\u0026nbsp;\n\n### Usage\n\n**Browser**: Use directly from CDN with [RequireJS](http://requirejs.org/).\n\n```html\n\u003chtml\u003e\n\u003chead\u003e\n  \u003clink href=\"https://cdn.jsdelivr.net/npm/bilderrahmen@1.0.0/bilderrahmen.css\" rel=\"stylesheet\" /\u003e\n  \u003cscript src=\"https://cdn.jsdelivr.net/gh/requirejs/requirejs@2.3.5/require.js\"\u003e\u003c/script\u003e\n\u003c/head\u003e\n\u003cbody\u003e\n\n\n  \u003ca href=\"https://codeclou.github.io/bilderrahmen/demo/demo-gallery-02/images/DSC05104.JPG\" target=\"_blank\"\u003e\u003cimg\n        src=\"https://codeclou.github.io/bilderrahmen/demo/demo-gallery-02/thumbs/DSC05104.JPG\"\n        data-bilderrahmen=\"gallery-02\"\n        data-bilderrahmen-title=\"Image Four\"\n  /\u003e\u003c/a\u003e\n\n  \u003c!-- Video only supports MP4 and one video source! --\u003e\n  \u003ca href=\"https://codeclou.github.io/bilderrahmen/demo/demo-videos/demo-720p.mp4\" target=\"_blank\"\u003e\u003cimg\n          src=\"https://codeclou.github.io/bilderrahmen/demo/demo-videos/demo-720p-poster.jpg\"\n          style=\"width:200px;border:1px solid #ccc\"\n          data-bilderrahmen-video=\"https://codeclou.github.io/bilderrahmen/demo/demo-videos/demo-720p.mp4\"\n          data-bilderrahmen=\"gallery-02\"\n          data-bilderrahmen-title=\"Video One\"\n  /\u003e\u003c/a\u003e\n\n  \u003cscript\u003e\n    require(['https://cdn.jsdelivr.net/npm/bilderrahmen@1.0.0/bilderrahmen.umd.es5.js'], function(module) {\n        new module.Bilderrahmen({ closeOnOutsideClick: true });\n    });\n  \u003c/script\u003e\n\u003c/body\u003e\n\u003c/html\u003e\n```\n\n----\n\n**UMD**: Use `bilderrahmen.umd.es5.js` as AMD or CommonJS module.\n\n```\nnpm install bilderrahmen --save\n```\n\n```js\nvar Bilderrahmen = require('bilderrahmen').Bilderrahmen;\n\nnew Bilderrahmen({\n   closeOnOutsideClick: true\n});\n```\n\nLoad css from `node_modules/bilderrahmen/dist/bilderrahmen.min.css`\n\n-----\n\n\n**ES5/ES2015**: Use `bilderrahmen.es2015.es5.js` or `bilderrahmen.es2015.es2015.js` as ES-Module.\n\n```\nnpm install bilderrahmen --save\n```\n\n```js\nimport { Bilderrahmen } from 'bilderrahmen';\n\nnew Bilderrahmen({\n   closeOnOutsideClick: true\n});\n```\n\nNote that depending on your buildchain language target files are automatically loaded by [`package.json` convention](./build-package-json-template.json).\n\nLoad css from `node_modules/bilderrahmen/dist/bilderrahmen.min.css`\n\n-----\n\n\u0026nbsp;\n\n\n### Browser Support\n\nWorks in all modern browsers and was tested in the following versions\n\n![](https://codeclou.github.io/bilderrahmen/img/browser-support.svg?v2)\n\n\nNote: SVG loading animation will not work in IE11 or Edge due to poor SVG animation support.\n\n-----\n\n\n\u0026nbsp;\n\n### Development and Release\n\nSee [DEVELOPMENT.md](./DEVELOPMENT.md)\n\n-----\n\n\n\u0026nbsp;\n\n## License\n\n[MIT](./LICENSE) © [Bernhard Grünewaldt](https://github.com/clouless)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeclou%2Fbilderrahmen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodeclou%2Fbilderrahmen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeclou%2Fbilderrahmen/lists"}