{"id":49572896,"url":"https://github.com/th23x/th23-gallery","last_synced_at":"2026-05-03T15:36:36.441Z","repository":{"id":248981674,"uuid":"830373188","full_name":"th23x/th23-gallery","owner":"th23x","description":"Replace standard Wordpress Gallery block and legacy [gallery] shortcode handler, opening galleries using PhotoSwipe","archived":false,"fork":false,"pushed_at":"2025-05-15T16:06:12.000Z","size":314,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-15T17:24:22.069Z","etag":null,"topics":["gallery","plugin","swipe","wordpress"],"latest_commit_sha":null,"homepage":"https://th23.net","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/th23x.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":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-07-18T06:38:03.000Z","updated_at":"2025-05-15T16:06:16.000Z","dependencies_parsed_at":"2025-05-07T22:36:25.397Z","dependency_job_id":null,"html_url":"https://github.com/th23x/th23-gallery","commit_stats":null,"previous_names":["th23x/th23-gallery"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/th23x/th23-gallery","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/th23x%2Fth23-gallery","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/th23x%2Fth23-gallery/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/th23x%2Fth23-gallery/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/th23x%2Fth23-gallery/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/th23x","download_url":"https://codeload.github.com/th23x/th23-gallery/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/th23x%2Fth23-gallery/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32575114,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"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":["gallery","plugin","swipe","wordpress"],"created_at":"2026-05-03T15:36:36.008Z","updated_at":"2026-05-03T15:36:36.431Z","avatar_url":"https://github.com/th23x.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 📷 th23 Gallery\n\nReplace standard Wordpress Gallery block and legacy [gallery] shortcode handler, opening galleries using PhotoSwipe\n\n\n## 🚀 Introduction\n\nWordpress has come a long way to be a fully featured content editor system, but the **default gallery does not keep up** with it. And while there are many plugins with various features, I did not find a small and simple one putting the **focus on enlarged images**.\n\n[**PhotoSwipe**](https://photoswipe.com/) is a great basis and thus core component of my th23 Gallery plugin, which replaces the Wordpress default to output galleries into a way containing all key information required while maintaining a **simple and easy markup**.\n\n\u003e ![](assets/screenshot-1.jpg)\n\u003e ![](assets/screenshot-2.jpg)\n\n\n`th23 Gallery` is built with some few goals in mind:\n\n* Unintrusive way to **focus on images**\n* Leveraging **PhotoSwipe / Lightbox-like** overlay\n* Navigation between images in all galleries in a post via **intuitive swipe, keyboard or mouse** activity\n* Compatibile with modern **blocks and legacy shortcodes**\n* **Simple markup** and styling for thumbnail preview images (polaroid-style)\n* **Plain styling** for medium / large preview images allowing for theme based style\n* **Minimized footprint** on page loading\n\n\n## ⚙️ Setup\n\nUpload extracted files to your `wp-content/plugins` directory\n\nNo options required - **install, activate, enjoy** :-)\n\nImage subtitle in lightbox is image **caption** (defined in gallery), image **description** (as in the media library) or image **title** (as in the media library) - in this order, whatever is given first\n\nOnly optional setting is the option to define a **default preview image size** for new galleries via the `Settings` / `Media` page in the admin panel\n\n\u003e [!NOTE]\n\u003e There is a [known inconsistency in core WP](https://core.trac.wordpress.org/ticket/40692) not showing this default correctly in new galleries - but it is taken correctly upon saving/including the gallery and upon further edits as well\n\n\n## 🖐️ Usage\n\n`th23 Gallery` works out-of-the-box and does not require any special handling - right after activation all embedded galleries will use PhotoSwipe to enlarge pictures.\n\n\u003e [!NOTE]\n\u003e Polaroid-style works only on galleries which have set the preview image size to `Thumbnail`\n\n\u003e [!NOTE]\n\u003e Previously inserted galleries might require a review to ensure link to media file and preview image size are set to work as expected - especially when also using the plugin on legacy `[gallery]` shortcodes.\n\n\n## ❓ FAQ\n\nQ: Can you provide **options** to change x, y or z behaviour in PhotoSwipe?\n\nA: Yes, I could, but this plugin is supposed to be simple - in case you want many individual customization options, have a look at this [open source alternative by Arno Welzel](https://wordpress.org/plugins/lightbox-photoswipe/)\n\n\n## 🤝 Contributors\n\nFeel free to [raise issues](../../issues) or [contribute code](../../pulls) for improvements via GitHub.\n\n\n## ©️ License\n\nYou are free to use this code in your projects as per the `GNU General Public License v3.0`. References to this repository are of course very welcome in return for my work 😉\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fth23x%2Fth23-gallery","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fth23x%2Fth23-gallery","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fth23x%2Fth23-gallery/lists"}