{"id":20330,"date":"2012-10-13T17:29:38","date_gmt":"2012-10-13T17:29:38","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/photoswipe-for-nextgen-gallery\/"},"modified":"2013-01-29T20:40:44","modified_gmt":"2013-01-29T20:40:44","slug":"photoswipe-for-nextgen-gallery","status":"publish","type":"plugin","link":"https:\/\/gu.wordpress.org\/plugins\/photoswipe-for-nextgen-gallery\/","author":10464842,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.2.1","stable_tag":"1.2.1","tested":"3.4.2","requires":"3.0","requires_php":"","requires_plugins":"","header_name":"Photoswipe for NextGEN Gallery","header_author":"Guillermo Se\u00f1as","header_description":"","assets_banners_color":"","last_updated":"2013-01-29 20:40:44","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_donations&business=8HNE3583KAVEQ&lc=US&item_name=Guillermo%20Senas&amount=0%2e10&currency_code=EUR&currency_code=EUR&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted","header_plugin_uri":"http:\/\/adriza.net","header_author_uri":"http:\/\/adriza.net","rating":4.5,"author_block_rating":0,"active_installs":300,"downloads":29579,"num_ratings":11,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"":"<p>Thanks for using this initial version.<\/p>"},"ratings":{"1":"1","2":0,"3":0,"4":"1","5":"9"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.9","1.0","1.0.1","1.0.2","1.1","1.1.1","1.1.2","1.2","1.2.1"],"block_files":[],"assets_screenshots":{"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1538852","resolution":"2","location":"plugin"},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"1538852","resolution":"3","location":"plugin"},"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1538852","resolution":"1","location":"plugin"}},"screenshots":{"1":"Plugin options - Choose when Photoswipe should be applied.","2":"New Gallery submenu","3":"Result"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1133,224,841,4620,13896],"plugin_category":[50],"plugin_contributors":[80749],"plugin_business_model":[],"class_list":["post-20330","plugin","type-plugin","status-publish","hentry","plugin_tags-ipad","plugin_tags-iphone","plugin_tags-mobile","plugin_tags-nggallery","plugin_tags-photoswipe","plugin_category-media","plugin_contributors-gsenas","plugin_committers-gsenas"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/photoswipe-for-nextgen-gallery.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/photoswipe-for-nextgen-gallery\/trunk\/screenshot-1.png?rev=1538852","caption":"Plugin options - Choose when Photoswipe should be applied."},{"src":"https:\/\/ps.w.org\/photoswipe-for-nextgen-gallery\/trunk\/screenshot-2.png?rev=1538852","caption":"New Gallery submenu"},{"src":"https:\/\/ps.w.org\/photoswipe-for-nextgen-gallery\/trunk\/screenshot-3.png?rev=1538852","caption":"Result"}],"raw_content":"<!--section=description-->\n<p>The default NextGEN gallery navigations (Shutter, Thickbox, etc...) fall short when using a mobile browser?\nNow you can use Photoswipe, the best mobile image browser, just installing this plugin. The default gallery effect and configuration is kept when accessing from a desktop browser.<\/p>\n\n<p>After activation you'll find a new Photoswipe submenu in the NextGEN Gallery menu, allowing you to configure how the plugin works.<\/p>\n\n<p>Please note, I am not the developer, or related in any way with of the authors of <a href=\"http:\/\/www.photoswipe.com\/\" title=\"Photoswipe webpage\">Photoswipe<\/a> or <a href=\"http:\/\/wordpress.org\/extend\/plugins\/nextgen-gallery\/\">NextGEN Gallery<\/a>. This plugin is only intended to make Photoswipe integration with NextGEN Gallery dead simple.<\/p>\n\n<p>If you find this plugin helpful, consider <a href=\"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_donations&amp;business=8HNE3583KAVEQ&amp;lc=US&amp;item_name=Guillermo%20Senas&amp;amount=0%2e10&amp;currency_code=EUR&amp;currency_code=EUR&amp;bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted\" title=\"Donate link\">donating<\/a>, at least ten cents.<\/p>\n\n<h4>Options<\/h4>\n\n<p>The plugin is ready to be used with zero configuration, but to make testing easier, there are 3 configuration options:<\/p>\n\n<ul>\n<li><p><em>Replace viewer with Photoswipe only on mobile browsers:<\/em>\nThis is the default behavior, and will replace the NextGEN Gallery Effect with Photoswipe only when a mobile browser is detected.<\/p><\/li>\n<li><p><em>Always replace viewer with Photoswipe:<\/em>\nUseful for testing.<\/p><\/li>\n<li><p><em>Never replace the viewer:<\/em>\nDisables the plugin. Much like deactivating the plugin.<\/p><\/li>\n<li><p><em>Disable additional viewers:<\/em>\nIn this section you can disable other supported image viewers, other than the NextGEN Gallery default ones.\nCurrently only Fancybox.<\/p><\/li>\n<\/ul>\n\n<!--section=installation-->\n<p>STEP 0: Make sure you have the <a href=\"http:\/\/wordpress.org\/extend\/plugins\/nextgen-gallery\/\">NextGEN Gallery<\/a> plugin already installed and activated!<\/p>\n\n<p><em>Automatic Installation<\/em><\/p>\n\n<ol>\n<li>Download and install Photoswipe for NextGEN Gallery using the built in WordPress plugin installer.<\/li>\n<\/ol>\n\n<p><em>Manual Installation<\/em><\/p>\n\n<ol>\n<li><p>Download the zip file and unzip it.<\/p><\/li>\n<li><p>Upload the ngg-photoswipe folder to your <code>\/wp-content\/plugins\/<\/code> directory. Alternatively, use the Wordpress plugin install in <code>Plugins &gt;&gt; Add New &gt;&gt; Upload<\/code> to upload and install the zip file.<\/p><\/li>\n<li><p>Activate the plugin through the <code>Plugins<\/code> menu in WordPress.<\/p><\/li>\n<\/ol>\n\n<p>Done! Photoswipe will be used when accessing from a mobile browser.<\/p>\n\n<p>If you want to be sure, check your \"Gallery\" menu. A new Photoswipe section should be there.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt>How is the standard effect (Shutter, Thickbox...) prevented when using Photoswipe?<\/dt>\n<dd><p>The javascript added when a mobile browser is detected does two things:<\/p>\n\n<ul>\n<li><p>a) Fire the Photoswipe viewer when you click on a image<\/p><\/li>\n<li><p>b) Remove the default additional HTML markup added in the \"Link Code Line\" of the Effects tab in NextGen Gallery Options<\/p><\/li>\n<\/ul>\n\n<p>That way, the standard defined effect won't fire when Photoswipe is used. Please don't change the markup, or two viewers may fire at the same time.<\/p>\n\n<p>If you absolutely need to change the \"Link Code Line\", change the ngg-photoswipe.js to remove the specific markup you add.<\/p><\/dd>\n<dt>Can I use WPTouch with this plugin?<\/dt>\n<dd><p>No, sorry, this plugin DOES NOT WORK WITH WPTOUCH.<\/p><\/dd>\n<dt>Will the image descriptions show?<\/dt>\n<dd><p>Yes, the description will show behind the title, if the image has one.<\/p><\/dd>\n<dt>Is there any menu page to change the default Photoswipe options?<\/dt>\n<dd><p>No, sorry. But you can edit the ngg-photoswipe.js file to achieve what you want.<\/p><\/dd>\n<dt>When will be my favorite viewer also adapted to use Photoswipe when using a mobile browser?<\/dt>\n<dd><p>When it's done.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.2.1<\/h4>\n\n<p>Description fixed<\/p>\n\n<h4>1.2<\/h4>\n\n<p>Major bugfixing:<\/p>\n\n<ul>\n<li>Works on Wordpress 3.0, as stated in the readme<\/li>\n<li>Javascript errors fixed when showing pages with no galleries<\/li>\n<li>Photoswipe CSS &amp; JS files no longer load on admin pages, preventing many related issues <\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<p>Option to disable more gallery viewers. Starting with Fancybox.<\/p>\n\n<h4>1.0.2<\/h4>\n\n<p>Wrestling with readme.txt format. Sorry.<\/p>\n\n<h4>1.0.1<\/h4>\n\n<p>Minor bugfix. Now Photoswipe icons show correctly.<\/p>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Hello world! Initial version.<\/li>\n<\/ul>","raw_excerpt":"The default NextGEN gallery navigations (Shutter, Thickbox, etc...) fall short when using a mobile browser?","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/gu.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/20330","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gu.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/gu.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/gu.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=20330"}],"author":[{"embeddable":true,"href":"https:\/\/gu.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/gsenas"}],"wp:attachment":[{"href":"https:\/\/gu.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=20330"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/gu.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=20330"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/gu.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=20330"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/gu.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=20330"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/gu.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=20330"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/gu.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=20330"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}