Simple widget for displaying images from the Media Library with plenty of configurable options.
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.
Really Simple Gallery Widget is most easily installed automatically via the Plugins tab in your blog administration panel.
really-simple-gallery-widget
folder to the /wp-content/plugins/
directoryReally Simple Gallery Widget is most easily installed automatically via the Plugins tab in your blog administration panel.
really-simple-gallery-widget
folder to the /wp-content/plugins/
directoryFor 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 [gallery]
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.
This widget can only grab images that were uploaded into your Media Library. See the WordPress Codex for more information.
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 WordPress Codex for more information. The link behavior can be altered via filter.
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. http://yoursite.com/wp-admin/post.php?post=41&action=edit
indicates that the ID of the post or page you want to reference is 41.
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.
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 Regenerate Thumbnails plugin to create new versions for any new or changed image sizes.
See Styling the Really Simple Gallery Widget for more information and some examples of what you might do.
rsgw_before_widget
and rsgw_after_widget
.Fixed
New
Filters!
rsgw_from_options
rsgw_order_options
rsgw_orderby_options
rsgw_link_type_options
rsgw_image_size_options
rsgw_instance_defaults
rsgw_query_args
rsgw_images
rsgw_dl_class
rsgw_dt_class
rsgw_dd_class
rsgw_image_link_url