{"id":18575921,"url":"https://github.com/bevry-archive/jquery-lightbox","last_synced_at":"2025-08-17T14:41:42.578Z","repository":{"id":517386,"uuid":"145462","full_name":"bevry-archive/jquery-lightbox","owner":"bevry-archive","description":"Superseded by Fancybox: https://fancyapps.com/fancybox/3/","archived":false,"fork":false,"pushed_at":"2019-08-13T03:06:00.000Z","size":676,"stargazers_count":88,"open_issues_count":8,"forks_count":27,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-10T21:37:54.778Z","etag":null,"topics":["client-side","jquery-plugin","lightbox"],"latest_commit_sha":null,"homepage":"https://bevry-archive.github.io/jquery-lightbox/demo/","language":"JavaScript","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/bevry-archive.png","metadata":{"files":{"readme":"README.md","changelog":"History.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2009-03-07T21:46:50.000Z","updated_at":"2023-08-12T06:28:12.000Z","dependencies_parsed_at":"2022-08-16T10:25:30.882Z","dependency_job_id":null,"html_url":"https://github.com/bevry-archive/jquery-lightbox","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/bevry-archive/jquery-lightbox","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bevry-archive%2Fjquery-lightbox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bevry-archive%2Fjquery-lightbox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bevry-archive%2Fjquery-lightbox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bevry-archive%2Fjquery-lightbox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bevry-archive","download_url":"https://codeload.github.com/bevry-archive/jquery-lightbox/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bevry-archive%2Fjquery-lightbox/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270862008,"owners_count":24658696,"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","status":"online","status_checked_at":"2025-08-17T02:00:09.016Z","response_time":129,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["client-side","jquery-plugin","lightbox"],"created_at":"2024-11-06T23:22:49.450Z","updated_at":"2025-08-17T14:41:42.529Z","avatar_url":"https://github.com/bevry-archive.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## jQuery Lightbox\n\nLightboxes are a way to display an image on the same page simply and elegantly.\n\n## Usage\n\nRefer to the [demo](http://bevry-archive.github.io/jquery-lightbox/demo/) for usage instructions\n\n## Options\n\n    Name: show_helper_text\n    Description: Should we show the helper text / hint (\"Click to close, Hover to interact\")\n    Values:\n      true (default)       - Yes\n      false                - No\n\n    Name: show_info\n    Description: Should we force the show of the image information?\n    Values:\n      \"auto\" (default)     - It should be handled automatically on rollover\n      true                 - It should be forced to show\n\n    Name: show_extended_info\n    Description: Should we force the show of the extended image information?\n    Values:\n      \"auto\" (default)     - It should be handled automatically on rollover\n      true                 - It should be forced to show\n\n    Name: download_link\n    Description: Should we show the image download link?\n    Values:\n      true (default)       - Yes\n      false                - No\n\n    Name: auto_resize\n    Description: Should we auto resize the image if it is too big?\n    Values:\n      true (default)       - Yes\n      false                - No\n\n    Name: colorBlend\n    Description: Should we support colorBlend?\n    Values:\n      null (default)       - Enabled only if colorBlend is already detected\n      true                 - Include colorBlend and enable\n      false                - Don't support colorBlend\n\n    Name: ie6_support\n    Description: Should we support IE6\n    Values:\n      true (default)       - Support IE6\n      false                - Ignore IE6\n\n    Name: show_linkback\n    Description: Show or hide the linkback up the top right corner\n    Values:\n      true (default)       - Show the linkback\n      false                - Hide the linkback\n\n    Name: auto_scroll\n    Description: How should scrolling be handled?\n    Values:\n      \"follow\" (default)   - Scroll with the user\n      \"disabled\"           - Don't allow scrolling\n      \"ignore\"             - Don't care for scrolling (leave lightbox at original position)\n\n    Name: speed\n    Description: The total amount of milliseconds it takes to perform transitions between images.\n    Values:\n      400 (default)        - Take 400 milliseconds\n      integer              - Amoung in milliseconds\n\n    Name: baseurl\n    Description: The baseurl to use to auto include the required files\n    Values:\n      null (default)       - Autodetect\n      string               - A string of the manual baseurl to use\n\n    Name: files\n    Description: The javascript object that contains the locations of the requred files, used if you have renamed files.\n    Children: js.lightbox, js.colorBlend, css.lightbox, images.prev, images.next, images.blank, images.loading\n\n    Name: text\n    Description: The javascript object that contains the text of various parts of the interface, used if you want to do translations.\n    Children: image, of, close, closeInfo, download, help.close, help.interact, about.text, about.title, about.link\n\n    Name: keys\n    Description: The javascript object that contains the key allocations for shortcuts, used if you want to remap the shortcuts\n    Children: close, prev, next\n\n    Name: opacity\n    Description: The opacity of the overlay\n    Values:\n      0.9 (default)        - 90% opacity\n      decimal value        - opacity percentage in decimal form\n\n    Name: padding\n    Description: The padding around the image, if you are using a custom padding you want to adjust this\n    Values:\n      null (default)       - Autodetect\n      integer              - the integer amount of the padding\n\n    Name: rel\n    Description: What to look for in the rel tag of links and images to detect if it should have a lightbox\n    Values:\n      \"lightbox\" (default) - Look for rel=\"lightbox\" by default\n      string               - What to lookfor\n\n    Name: auto_relify\n    Description: Should we do an initial rel scan to automatically detect lightboxes?\n    Values:\n      true (default)       - Yes we should\n      false                - No we shouldn't\n\n## How to apply options?\n\nThere are two methods, one is through the link form, and the other is through the constructor.\nUse the below examples to derive how it is used to hide the linkback, and translate \"Image\" to \"Photo\".\n\n### Link method\n\n```html\n\u003cscript\n\ttype=\"text/javascript\"\n\tsrc=\"http://www.yoursite.com/some/where/jquery-lightbox/scripts/jquery.lightbox.min.js?show_linkback=false\u0026amp;text.image=Photo\"\n\u003e\u003c/script\u003e\n```\n\n### Constructor method\n\n```html\n\u003cscript\n\ttype=\"text/javascript\"\n\tsrc=\"http://www.yoursite.com/some/where/jquery-lightbox/scripts/jquery.lightbox.min.js\"\n\u003e\u003c/script\u003e\n\u003cscript type=\"text/javascript\"\u003e\n\t$(function() {\n\t\t$.Lightbox.construct({\n\t\t\tshow_linkback: false,\n\t\t\ttext: {\n\t\t\t\t// For translating\n\t\t\t\timage: 'Image',\n\t\t\t\tof: 'of',\n\t\t\t\tclose: 'Close X',\n\t\t\t\tcloseInfo: 'You can also click anywhere outside the image to close.',\n\t\t\t\tdownload: 'Download.',\n\t\t\t\thelp: {\n\t\t\t\t\tclose: 'Click to close',\n\t\t\t\t\tinteract: 'Hover to interact'\n\t\t\t\t},\n\t\t\t\tabout: {\n\t\t\t\t\ttext: 'jQuery Lightbox Plugin (balupton edition)',\n\t\t\t\t\ttitle: 'Licenced under the GNU Affero General Public License.',\n\t\t\t\t\tlink: 'http://www.balupton.com/projects/jquery-lightbox'\n\t\t\t\t}\n\t\t\t}\n\t\t})\n\t})\n\u003c/script\u003e\n```\n\n## History\n\nYou can discover the history inside the [History.md](https://github.com/bevry-archive/jquery-lightbox/blob/master/History.md#files) file\n\n## License\n\nLicensed under the [MIT License](https://spdx.org/licenses/MIT.html)\n\u003cbr/\u003eCopyright \u0026copy; 2007+ [Benjamin Arthur Lupton](http://balupton.com)\n\n## Thanks\n\n- [Warren Krewenki's jQuery Lightbox Plugin v0.5](http://jquery-lightbox.googlecode.com/)\n- [Leandro Vieira Pinho's jQuery Lightbox Plugin v0.4](http://leandrovieira.com/projects/jquery/lightbox/)\n- [Lokesh Dhakar's Lightbox 2](http://www.huddletogether.com/projects/lightbox2/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbevry-archive%2Fjquery-lightbox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbevry-archive%2Fjquery-lightbox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbevry-archive%2Fjquery-lightbox/lists"}