{"id":5350,"date":"2009-04-18T10:49:17","date_gmt":"2009-04-18T10:49:17","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/nextgen-gallery-sidebar-widget\/"},"modified":"2012-02-06T19:12:34","modified_gmt":"2012-02-06T19:12:34","slug":"nextgen-gallery-sidebar-widget","status":"publish","type":"plugin","link":"https:\/\/is.wordpress.org\/plugins\/nextgen-gallery-sidebar-widget\/","author":708772,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.4.3","stable_tag":"0.4.3","tested":"3.3.2","requires":"2.8","requires_php":"","requires_plugins":"","header_name":"NextGEN Gallery Sidebar Widget","header_author":"Mathias Geat","header_description":"","assets_banners_color":"","last_updated":"2012-02-06 19:12:34","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/ailoo.net\/about","header_plugin_uri":"http:\/\/ailoo.net\/2009\/04\/nextgen-gallery-sidebar-widget\/","header_author_uri":"http:\/\/ailoo.net\/","rating":5,"author_block_rating":0,"active_installs":600,"downloads":108878,"num_ratings":2,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"2"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1","0.2","0.2.1","0.2.2","0.2.3","0.3","0.3.1","0.3.2","0.3.3","0.3.3.1","0.4","0.4.1","0.4.2","0.4.3"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[210,133,215,216,241],"plugin_category":[43,50],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-5350","plugin","type-plugin","status-publish","hentry","plugin_tags-gallery","plugin_tags-image","plugin_tags-photo","plugin_tags-picture","plugin_tags-widgets","plugin_category-customization","plugin_category-media","plugin_committers-maff"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/nextgen-gallery-sidebar-widget.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>The NextGEN widgets only allow showing of single images, I needed a solution to show links to galleries, so I wrote this widget. You can specify the following parameters:<\/p>\n\n<ul>\n<li>Maximum Galleries: the number of galleries you want to show<\/li>\n<li>Gallery Order: you can select random, date added ascending or date added descending<\/li>\n<li>Gallery Thumbnail: which image should be taken as thumbail in the sidebar (preview set in NGG, first or random image)<\/li>\n<li>AutoThumb parameters: if you got <a href=\"http:\/\/wordpress.org\/extend\/plugins\/autothumb\/\">AutoThumb<\/a> installed, the widget will use its functions to resize the image to your needs. Use a string like <code>w=80&amp;h=80&amp;zc=1<\/code> here to show 80x80 square thumbnails.<\/li>\n<li>Output width\/height: if you don't use AutoThumb, the plugin will set the HTML attributes width &amp; height.<\/li>\n<li>Default Link Id: the widget assumes that you set up pages for each gallery and link the gallery to that page (you can use the NGG Gallery Editor to do this). If a gallery has no link set, it will use the default link (id of a page or post).<\/li>\n<li>Exclude galleries: exclude galleries by specifying their ID as comma separated list<\/li>\n<\/ul>\n\n<p>All development is done on <a href=\"https:\/\/github.com\/maff\/wp-nextgen-gallery-sidebar-widget\">GitHub<\/a>. If you have ideas, enhancements, etc. feel free to fork the project and send a pull request.<\/p>\n\n<p>For any issues please use the <a href=\"https:\/\/github.com\/maff\/wp-nextgen-gallery-sidebar-widget\/issues\">Issue Tracker<\/a>.<\/p>\n\n<p>Templating:<\/p>\n\n<p>Beginning with version 0.3, you have full control over the widget's output as it is controlled with templates. As the built-in templates would get overwritten on every plugin update, create a new directory called \"ngg-sidebar-widget\" in your theme's directory and copy the two template files \"tpl.outer.html\" and \"tpl.inner.html\" over there to edit them. The outer template is just a wrapper template (useful when you need some additional markup, e.g. when creating a list), the inner template has access to all the values from the gallery and image object (written in a simple templating syntax: {=object.member}). For the most use cases you should only need \"gallery.title\", \"gallery.link\" and \"image.url\".<\/p>\n\n<p>You will have access to the following variables:<\/p>\n\n<ul>\n<li>gallery\n\n<ul>\n<li>gid<\/li>\n<li>name<\/li>\n<li>path<\/li>\n<li>title<\/li>\n<li>galdesc<\/li>\n<li>pageid<\/li>\n<li>previewpic<\/li>\n<li>author<\/li>\n<li>link<\/li>\n<\/ul><\/li>\n<li>image\n\n<ul>\n<li>errmsg<\/li>\n<li>error<\/li>\n<li>imageURL<\/li>\n<li>thumbURL<\/li>\n<li>imagePath<\/li>\n<li>thumbPath<\/li>\n<li>href<\/li>\n<li>thumbPrefix<\/li>\n<li>thumbFolder<\/li>\n<li>galleryid<\/li>\n<li>pid<\/li>\n<li>filename<\/li>\n<li>description<\/li>\n<li>alttext<\/li>\n<li>imagedate<\/li>\n<li>exclude<\/li>\n<li>thumbcode<\/li>\n<li>name<\/li>\n<li>path<\/li>\n<li>title<\/li>\n<li>pageid<\/li>\n<li>previewpic<\/li>\n<li>permalink<\/li>\n<li>post_id<\/li>\n<li>sortorder<\/li>\n<li>meta_data<\/li>\n<li>gid<\/li>\n<li>galdesc<\/li>\n<li>author<\/li>\n<li>imageHTML<\/li>\n<li>thumbHTML<\/li>\n<li>url<\/li>\n<li>output&#095;width<\/li>\n<li>output&#095;height<\/li>\n<li>output&#095;width&#095;tag<\/li>\n<li>output&#095;height&#095;tag<\/li>\n<\/ul><\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>ngg-sidebar-widget.php<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Use the widget in the widget editor.<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<ul>\n<li>0.4: Add include_galleries option<\/li>\n<li>0.3.3.1: Fix bug on widget no displaying galleries when no exclusions are set (bug #59, #60)<\/li>\n<li>0.3.3: Fix wrong maximum galleries (bug #58)<\/li>\n<li>0.3.2: Image output width fix in template, Cleanup<\/li>\n<li>0.3.1: Gallery limit bugfix<\/li>\n<li>0.3: Wordpress 2.8+ widget API, gallery exclusion option, templating feature<\/li>\n<li>0.2.2: Add gallery_thumbnail option to select thumbnail image (preview, first, random)<\/li>\n<\/ul>","raw_excerpt":"A widget to show NextGEN galleries in your sidebar.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/is.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/5350","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/is.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/is.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/is.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=5350"}],"author":[{"embeddable":true,"href":"https:\/\/is.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/maff"}],"wp:attachment":[{"href":"https:\/\/is.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=5350"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/is.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=5350"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/is.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=5350"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/is.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=5350"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/is.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=5350"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/is.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=5350"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}