{"id":21500064,"url":"https://github.com/rayiumir/galleryslideshow","last_synced_at":"2026-01-29T07:01:37.818Z","repository":{"id":263911461,"uuid":"891769549","full_name":"Rayiumir/GallerySlideshow","owner":"Rayiumir","description":"A simple library to create photo gallery thumbnails with jQuery.","archived":false,"fork":false,"pushed_at":"2024-11-22T16:05:44.000Z","size":61032,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-08T22:34:53.426Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://rayiumir.github.io/GallerySlideshow/","language":"HTML","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/Rayiumir.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,"zenodo":null}},"created_at":"2024-11-20T23:25:21.000Z","updated_at":"2024-11-22T16:09:35.000Z","dependencies_parsed_at":"2025-05-30T00:41:03.225Z","dependency_job_id":null,"html_url":"https://github.com/Rayiumir/GallerySlideshow","commit_stats":null,"previous_names":["rayiumir/galleryslide","rayiumir/galleryslideshow"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Rayiumir/GallerySlideshow","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rayiumir%2FGallerySlideshow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rayiumir%2FGallerySlideshow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rayiumir%2FGallerySlideshow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rayiumir%2FGallerySlideshow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Rayiumir","download_url":"https://codeload.github.com/Rayiumir/GallerySlideshow/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rayiumir%2FGallerySlideshow/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28868876,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-29T06:56:44.678Z","status":"ssl_error","status_checked_at":"2026-01-29T06:56:35.794Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-11-23T17:20:34.242Z","updated_at":"2026-01-29T07:01:37.795Z","avatar_url":"https://github.com/Rayiumir.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gallery Slide Show\n\nA simple library to create photo gallery with jQuery.\n\n# How to use\n\nAdd JQuery:\n\n```html\n\u003cscript src=\"https://code.jquery.com/jquery-3.7.1.min.js\"\u003e\u003c/script\u003e\n```\nAdd Galleryslide:\n\n```html\n\u003cscript src=\"js/galleryslide.js\"\u003e\u003c/script\u003e\n```\n\nHTML:\n\n```html\n\u003cdiv class=\"gallery\"\u003e\n    \u003cdiv class=\"main\"\u003e\n        \u003cimg id=\"current\" src=\"img/1.jpg\" alt=\"Main Image\"\u003e\n    \u003c/div\u003e\n    \u003cdiv class=\"thumbnails\"\u003e\n        \u003cimg class=\"thumbnail active\" src=\"img/1.jpg\" data-large=\"img/1.jpg\" alt=\"Thumbnail 1\"\u003e\n        \u003cimg class=\"thumbnail\" src=\"img/2.jpg\" data-large=\"img/2.jpg\" alt=\"Thumbnail 2\"\u003e\n        \u003cimg class=\"thumbnail\" src=\"img/3.jpg\" data-large=\"img/3.jpg\" alt=\"Thumbnail 3\"\u003e\n        \u003cimg class=\"thumbnail\" src=\"img/4.jpg\" data-large=\"img/4.jpg\" alt=\"Thumbnail 4\"\u003e\n        \u003cimg class=\"thumbnail\" src=\"img/5.jpg\" data-large=\"img/5.jpg\" alt=\"Thumbnail 5\"\u003e\n        \u003cimg class=\"thumbnail\" src=\"img/6.jpg\" data-large=\"img/6.jpg\" alt=\"Thumbnail 6\"\u003e\n        \u003cimg class=\"thumbnail\" src=\"img/7.jpg\" data-large=\"img/7.jpg\" alt=\"Thumbnail 7\"\u003e\n        \u003c!-- Add more thumbnails as needed --\u003e\n    \u003c/div\u003e\n\u003c/div\u003e\n```\n\nCSS:\n\n```css\n.gallery {\n    max-width: 800px;\n    margin: 0 auto;\n}\n\n.main {\n    width: 100%;\n    border: 2px solid #ddd;\n    margin-bottom: 10px;\n    position: relative;\n}\n\n.main img {\n    width: 100%;\n    display: block;\n}\n\n.thumbnails {\n    display: flex;\n    gap: 10px;\n    overflow: auto;\n}\n\n.thumbnail {\n    width: 100px;\n    height: 70px;\n    object-fit: cover;\n    cursor: pointer;\n    border: 2px solid transparent;\n    transition: border 0.3s;\n}\n\n.thumbnail:hover,\n.thumbnail.active {\n    border: 2px solid #007BFF;\n}\n```\n\njQuery:\n\n```javascript\n$(document).ready(function() {\n    // Handle thumbnail click\n    $('.thumbnail').on('click', function() {\n        // Remove 'active' class from all thumbnails\n        $('.thumbnail').removeClass('active');\n        \n        // Add 'active' class to the clicked thumbnail\n        $(this).addClass('active');\n        \n        // Get the large image URL from data attribute\n        var largeImage = $(this).data('large');\n        \n        // Update the main image src\n        $('#current').attr('src', largeImage);\n    });\n});\n```\n\n# Screenshots\n\n\u003cpicture\u003e\n  \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"./screenshots/screenshots.png\"\u003e\n  \u003csource media=\"(prefers-color-scheme: light)\" srcset=\"./screenshots/screenshots.png\"\u003e\n  \u003cimg alt=\"Gallery Slide Show\" src=\"./screenshots/screenshots.png\"\u003e\n\u003c/picture\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frayiumir%2Fgalleryslideshow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frayiumir%2Fgalleryslideshow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frayiumir%2Fgalleryslideshow/lists"}