{"id":11929,"date":"2011-01-27T19:18:54","date_gmt":"2011-01-27T19:18:54","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/really-simple-gallery-widget\/"},"modified":"2017-08-09T13:59:01","modified_gmt":"2017-08-09T13:59:01","slug":"really-simple-gallery-widget","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/really-simple-gallery-widget\/","author":4198497,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.4","stable_tag":"1.4","tested":"4.8.28","requires":"2.8","requires_php":"","requires_plugins":"","header_name":"Really Simple Gallery Widget","header_author":"Helen Hou-Sandi","header_description":"","assets_banners_color":"","last_updated":"2017-08-09 13:59:01","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/helen.wordpress.com\/category\/plugins\/really-simple-gallery-widget\/","header_author_uri":"http:\/\/helenhousandi.com","rating":4.8,"author_block_rating":0,"active_installs":700,"downloads":45304,"num_ratings":10,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"1.2":"<p>Major update - bugs fixed, features added. You may need to tweak any custom styling.<\/p>","1.1":"<p>More display options<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":"2","5":"9"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1","1.2","1.3","1.4"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"644638","resolution":"1","location":"assets","width":262,"height":627},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"644638","resolution":"2","location":"assets","width":266,"height":738}},"screenshots":{"1":"Widget options","2":"Sample display in Twenty Twelve with minimal styling added for spacing"}},"plugin_section":[],"plugin_tags":[210,162],"plugin_category":[43,50],"plugin_contributors":[79093],"plugin_business_model":[],"class_list":["post-11929","plugin","type-plugin","status-publish","hentry","plugin_tags-gallery","plugin_tags-widget","plugin_category-customization","plugin_category-media","plugin_contributors-helen","plugin_committers-helen"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/really-simple-gallery-widget.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/really-simple-gallery-widget\/assets\/screenshot-1.png?rev=644638","caption":"Widget options"},{"src":"https:\/\/ps.w.org\/really-simple-gallery-widget\/assets\/screenshot-2.png?rev=644638","caption":"Sample display in Twenty Twelve with minimal styling added for spacing"}],"raw_content":"<!--section=description-->\n<p>Really Simple Gallery Widget adds a widget to display images from the Media Library, no extra uploading or creating custom post types required. You can choose to show images from a specific post\/page, the entire media library, or a specific set of attachment IDs. On single pages\/posts, you can also show only images attached to the item currently being viewed. Especially helpful if your galleries are based on what's attached to a post and you want to be able to easily display those images in a widget area.<\/p>\n\n<h4>Features<\/h4>\n\n<ul>\n<li>Add as many widgets as you want, wherever you want<\/li>\n<li>Display images from a specific post\/page, the entire Media Library, or a specific set of attachment IDs<\/li>\n<li>Display images from the post\/page currently being viewed<\/li>\n<li>Select a number of images<\/li>\n<li>Select any registered size in WordPress<\/li>\n<li>Display the images in various orders<\/li>\n<li>Show or hide captions<\/li>\n<li>Link the images to the original file, post, anchor in the post, attachment page, or nothing. NOTE: If the image is not attached to a post, the file link will be used instead of the post or anchor in the post.<\/li>\n<li>Add a prefix to the link and image title (appears as a tooltip)<\/li>\n<li>Use a rel attribute for the link - great for lightboxes<\/li>\n<\/ul>\n\n<!--section=installation-->\n<p>Really Simple Gallery Widget is most easily installed automatically via the Plugins tab in your blog administration panel.<\/p>\n\n<h4>Manual Installation<\/h4>\n\n<ol>\n<li>Upload the <code>really-simple-gallery-widget<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Head over to Appearance &rarr; Widgets to set up one or more Really Simple Gallery Widgets<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>Installation Instructions<\/dt>\n<dd><p>Really Simple Gallery Widget is most easily installed automatically via the Plugins tab in your blog administration panel.<\/p>\n\n<h4>Manual Installation<\/h4>\n\n<ol>\n<li>Upload the <code>really-simple-gallery-widget<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Head over to Appearance &rarr; Widgets to set up one or more Really Simple Gallery Widgets<\/li>\n<\/ol><\/dd>\n<dt>How does this work with the new-style galleries introduced in WP 3.5?<\/dt>\n<dd><p>For the time being, galleries that use the ids parameter (similar to the already-existing include parameter) will not influence the widget unless you copy-paste the list of IDs and use the Attachment IDs option. Old style galleries that would just use the <code>[gallery]<\/code> shortcode will work as expected, as will images attached\/uploaded to a post. This has to do with how attachments work in WordPress, which is the basis for this plugin. New-style galleries no longer depend on attachments to a specific post.<\/p><\/dd>\n<dt>Why won't images I've hotlinked or copy-pasted into my content appear?<\/dt>\n<dd><p>This widget can only grab images that were uploaded into your Media Library. See the <a href=\"http:\/\/codex.wordpress.org\/Using_Image_and_File_Attachments#Attachment_to_a_Post\" title=\"WordPress Codex\">WordPress Codex<\/a> for more information.<\/p><\/dd>\n<dt>Why is the wrong kind of link being used?<\/dt>\n<dd><p>The image is probably not associated with a post or page and will default to linking to the file if a link option is chosen. To associate (attach) an image with a post or page, go to your Media Library and click on the Unattached link next to the item to choose a post to attach it to. See the <a href=\"http:\/\/codex.wordpress.org\/Using_Image_and_File_Attachments#Attachment_to_a_Post\" title=\"WordPress Codex\">WordPress Codex<\/a> for more information. The link behavior can be altered via filter.<\/p><\/dd>\n<dt>How do I get the ID for the post or page?<\/dt>\n<dd><p>The easiest way is to mouseover or click an edit link for the post or page in question. The ID number will appear in the URL; e.g. <code>http:\/\/yoursite.com\/wp-admin\/post.php?post=41&amp;action=edit<\/code> indicates that the ID of the post or page you want to reference is 41.<\/p><\/dd>\n<dt>Why is the anchor link not working?<\/dt>\n<dd><p>The anchor link relies on the ID that WordPress automatically generates when you insert an image with a caption. If you inserted the image manually or without a caption, the anchor won't jump you to the spot in the page. The ability to specify an anchor may be added at a later time, or you can just add the ID (attachment_##) to the img tag.<\/p><\/dd>\n<dt>I selected a registered size but the images are showing up huge or in the wrong size.<\/dt>\n<dd><p>The images may be missing the thumbnails of that size and by default will pull the full size image instead. Try using Viper007Bond's fantastic <a href=\"http:\/\/wordpress.org\/extend\/plugins\/regenerate-thumbnails\/\" title=\"Regenerate Thumbnails\">Regenerate Thumbnails<\/a> plugin to create new versions for any new or changed image sizes.<\/p><\/dd>\n<dt>How can I make the widget look prettier?<\/dt>\n<dd><p>See <a href=\"http:\/\/helen.wordpress.com\/2011\/02\/styling-the-really-simple-gallery-widget\/\" title=\"Styling the Really Simple Gallery Widget\">Styling the Really Simple Gallery Widget<\/a> for more information and some examples of what you might do.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.4<\/h4>\n\n<ul>\n<li>Updated widget constructor to no longer throw notices.<\/li>\n<li>Respect the \"none\" link type (props @sergeybiryukov).<\/li>\n<li>Minor code cleanup.<\/li>\n<\/ul>\n\n<h4>1.3<\/h4>\n\n<ul>\n<li>Fixed a bug caused by assuming that image sizes are named key-style.<\/li>\n<li>Added two actions: <code>rsgw_before_widget<\/code> and <code>rsgw_after_widget<\/code>.<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<p><strong>Fixed<\/strong><\/p>\n\n<ul>\n<li>Caption no longer always shows the one for the last image queried.<\/li>\n<li>Can now be used on custom post types.<\/li>\n<\/ul>\n\n<p><strong>New<\/strong><\/p>\n\n<ul>\n<li>Mostly rewritten code - no notices, cleaner with coding standards, more sane data sanitization.<\/li>\n<li>More intuitive interface for specifying where to select images from, including a new option to specify image attachment IDs<\/li>\n<li>Additional option for what to order by.<\/li>\n<li>Text before link title and link rel attribute are hdiden under \"Advanced Options\" to reduce some of the visual weight of the widget options.<\/li>\n<li>Better markup - now using dl\/dt\/dd, with filterable classes. The original classes should remain, but styling may change or break depending on how your CSS was written.<\/li>\n<\/ul>\n\n<p><strong>Filters!<\/strong><\/p>\n\n<ul>\n<li><code>rsgw_from_options<\/code><\/li>\n<li><code>rsgw_order_options<\/code><\/li>\n<li><code>rsgw_orderby_options<\/code><\/li>\n<li><code>rsgw_link_type_options<\/code><\/li>\n<li><code>rsgw_image_size_options<\/code><\/li>\n<li><code>rsgw_instance_defaults<\/code><\/li>\n<li><code>rsgw_query_args<\/code><\/li>\n<li><code>rsgw_images<\/code><\/li>\n<li><code>rsgw_dl_class<\/code><\/li>\n<li><code>rsgw_dt_class<\/code><\/li>\n<li><code>rsgw_dd_class<\/code><\/li>\n<li><code>rsgw_image_link_url<\/code><\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>New options for entire media library and single post\/page<\/li>\n<li>HTML output cleanup<\/li>\n<li>Better security<\/li>\n<li>Smaller memory footprint (hopefully)<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>First version<\/li>\n<\/ul>","raw_excerpt":"Simple widget for displaying images from the Media Library with plenty of configurable options.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/11929","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=11929"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/helen"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=11929"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=11929"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=11929"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=11929"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=11929"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=11929"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}