{"id":200021,"date":"2024-08-28T06:31:30","date_gmt":"2024-08-28T06:31:30","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/th23-gallery\/"},"modified":"2024-08-28T06:30:59","modified_gmt":"2024-08-28T06:30:59","slug":"th23-gallery","status":"publish","type":"plugin","link":"https:\/\/km.wordpress.org\/plugins\/th23-gallery\/","author":7362199,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"4.0.0","stable_tag":"trunk","tested":"6.6.5","requires":"4.2","requires_php":"7.4","requires_plugins":null,"header_name":"th23 Gallery","header_author":"Thorsten Hartmann (th23)","header_description":"Replace standard Gallery block and legacy [gallery] shortcode handler. Open galleries using PhotoSwipe (https:\/\/photoswipe.com). Add [th23-gallery-random-image] shortcode to show a random image out of a given selection.","assets_banners_color":"","last_updated":"2024-08-28 06:30:59","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/th23.net","header_plugin_uri":"","header_author_uri":"https:\/\/th23.net\/","rating":0,"author_block_rating":0,"active_installs":20,"downloads":603,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"v4.0.0 (first public release)":"<ul>\n<li>n\/a<\/li>\n<\/ul>"},"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":{"1":"Gallery embedded in a post with thumbnail preview image size (polaroid-style)","2":"Image from gallery opened and given full focus (lightbox-style)"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1220,210,80],"plugin_category":[43,50],"plugin_contributors":[90665],"plugin_business_model":[],"class_list":["post-200021","plugin","type-plugin","status-publish","hentry","plugin_tags-block","plugin_tags-gallery","plugin_tags-shortcode","plugin_category-customization","plugin_category-media","plugin_contributors-th23","plugin_committers-th23"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/th23-gallery.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Wordpress has come a long way to be a fully featured content editor system, but the <strong>default gallery does not keep up<\/strong> with it. And while there are many plugins with various features, I did not find a small and simple one putting the <strong>focus on enlarged images<\/strong>.<\/p>\n\n<p><a href=\"https:\/\/photoswipe.com\/\"><strong>PhotoSwipe<\/strong><\/a> is a great basis and thus core component of my <strong>th23 Gallery<\/strong> plugin, which replaces the Wordpress default to output galleries into a way containing all key information required while maintaining a <strong>simple and easy markup<\/strong>.<\/p>\n\n<p><strong>th23 Gallery<\/strong> is built with some few goals in mind:<\/p>\n\n<ul>\n<li>Unintrusive way to <strong>focus on images<\/strong><\/li>\n<li>Leveraging <strong>PhotoSwipe \/ Lightbox-like<\/strong> overlay<\/li>\n<li>Navigation between images in all galleries in a post via <strong>intuitive swipe, keyboard or mouse<\/strong> activity<\/li>\n<li>Compatibile with modern <strong>blocks and legacy shortcodes<\/strong><\/li>\n<li><strong>Simple markup<\/strong> and styling for thumbnail preview images (polaroid-style)<\/li>\n<li><strong>Plain styling<\/strong> for medium \/ large preview images allowing for theme based style<\/li>\n<li><strong>Minimized footprint<\/strong> on page loading<\/li>\n<\/ul>\n\n<h3>Usage<\/h3>\n\n<p><strong>th23 Gallery<\/strong> works out-of-the-box and does not require any special handling - right after activation all embedded galleries will use PhotoSwipe to enlarge pictures.<\/p>\n\n<p><em>Note<\/em>: Polaroid-style works only on galleries which have set the preview image size to <code>Thumbnail<\/code><\/p>\n\n<p><em>Note<\/em>: 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 <code>[gallery]<\/code> shortcodes.<\/p>\n\n<!--section=installation-->\n<p>Upload extracted files to your <code>wp-content\/plugins<\/code> directory<\/p>\n\n<p>No options required - <strong>install, activate, enjoy<\/strong> :-)<\/p>\n\n<p>Only optional setting is the option to define a <strong>default preview image size<\/strong> for new galleries via the <code>Settings<\/code> \/ <code>Media<\/code> page in the admin panel<\/p>\n\n<p><em>Note<\/em>: There is a <a href=\"https:\/\/core.trac.wordpress.org\/ticket\/40692\">known inconsistency in core WP<\/a> not showing this default correctly in new galleries - but it is taken correctly upon saving\/including the gallery and upon further edits as well<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id='what%20is%20shown%20as%20image%20caption%3F%20how%20can%20i%20influence%20this%20text%3F'><h3>What is shown as image caption? How can I influence this text?<\/h3><\/dt>\n<dd><p>Image subtitle in lightbox is image <strong>caption<\/strong> (defined in gallery), image <strong>description<\/strong> (as in the media library) or image <strong>title<\/strong> (as in the media library) - in this order, whatever is given first<\/p><\/dd>\n<dt id='can%20you%20provide%20options%20to%20change%20x%2C%20y%20or%20z%20behaviour%20in%20photoswipe%3F'><h3>Can you provide options to change x, y or z behaviour in PhotoSwipe?<\/h3><\/dt>\n<dd><p>Yes, I could, but this plugin is supposed to be simple - in case you want many individual customization options, have a look at this <a href=\"https:\/\/wordpress.org\/plugins\/lightbox-photoswipe\/\">open source alternative by Arno Welzel<\/a><\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>v4.0.0 (first public release)<\/h4>\n\n<ul>\n<li>n\/a<\/li>\n<\/ul>","raw_excerpt":"Replace standard Wordpress Gallery block and legacy [gallery] shortcode handler, opening galleries using PhotoSwipe","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/km.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/200021","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/km.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/km.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/km.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=200021"}],"author":[{"embeddable":true,"href":"https:\/\/km.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/th23"}],"wp:attachment":[{"href":"https:\/\/km.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=200021"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/km.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=200021"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/km.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=200021"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/km.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=200021"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/km.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=200021"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/km.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=200021"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}