After several months of a severe reduction in the amount of “free” time I have, I finally managed to sit down and finish an update to the Really Simple Gallery Widget plugin. This update adds the ability to choose to use images from the entire media library and/or view only the images attached to the post/page being viewed. It also has some cleaner and safer HTML and should have a better memory footprint (not that it was a hog to begin with). Available in the WordPress plugin repository now.
Thanks so much for this plug-in. It was exactly what I was looking for and easy to implement.
LikeLike
Glad to hear it’s working for you! Let me know if there’s anything else you’d like to see it do!
LikeLike
Hi Helen.
Your plug-in suits my purposes very well. Thank you!
The only thing: it shows only the specified image (the post icon picture). I wanted to show all pictures from the post. Could you help me please? I use Arras Theme. Thanks!
Lukasz
LikeLike
Actually it is working for me! Just read your tutorials. Thanks!
LikeLike
Well….I like being able to pull random images from my library and display a certain number of them as thumbnails in my sidebar which I can do now. I’d like to be able to unselect the ones that I don’t want to show up.
Some of the thumbnails are showing up in my sidebar will link to the associated post which is what I want to happen. Others seem to just load the picture itself. Any ideas? Also what is a “post thumbnail”?
LikeLike
Is there a way to center the images in my sidebarWidget area ?
LikeLike
I’m so sorry – I don’t have an answer for you right this moment. We are moving halfway across the country this weekend and our current Internet has gone out. Please forgive me as it will take me at least a few days to look into this and get back to you!
LikeLike
Whew, that took a LOT longer than I would have liked!
Here are the answers I have for you at the moment:
1. Unfortunately, because of the simple nature of this plugin, I’d probably suggest you go with something else if you need fine-tuned control in that manner. I’m not sure there’s anything out there that does exactly what you’re looking for, but it certainly sounds interesting.
2. The images that just link to the file are ones that are not attached to a post. If you look at your media library, there should be a column that tells you what post/page an upload is associated with and therefore attached to. At the moment, unattached images link to themselves because there is no post to link to.
3. A post thumbnail usually means the featured image. Can you give some context as to where you’re seeing this?
4. To center things, try adding `
__abENT__#46;rsgallery { text-align: center; }
` to your CSS.Hope that helps!
LikeLike
Thanks for the centering tip! Did just what I wanted.
I’m still hoping to come up with a way to exclude images that don’t work well as thumbnails such as headers. Perhaps some kind of filtering list. I like that I can play with the CSS to change its behavior.
At any rate the program is great. Thanks again!
LikeLike
Hello Helen! Thx for the plugin!
I can insert galleries on the sidebars.
The only thing I don´t know is how to use the Lightbox, the gallery shows ok on the sidebar, but when I click on each photo they just appear on a new page which is their normal WP URL.
I tried entering in the shadowbox field many things:
lightbox[gallery-widget] as the example below the field.
rel=lightbox
rel=”lightbox”
rel=”lightbox[gallery-widget]”
rel=”lightbox[gallery]”
lightbox[gallery]
lightbox[sales-information] the name of the page
lightbox[gallery-sales-information]
lightbox[gallery-44] the ID of the page
Etc…,but none work…
Can you tell me how I find out what text to put in that field so the images show in a lightboxes please? I am not developer, but if you guide me I can do it. It is the only field I am missing on the widget!
Thx, Donald.
LikeLike
Hi Donald,
You will need to have some sort of lightbox script installed, for instance as a plugin. I’ve used http://wordpress.org/extend/plugins/shadowbox-js/ with great results, but there are many more out there in the plugin repository. Some may use a different word (e.g shadowbox or fancybox) but they should tell you which. You don’t need to enter the rel=”” part.
Hope that helps!
LikeLike
Cool plugin! Thank you. I have a similar issue as Don did. My theme is using Fancybox but when I put fancybox in the link rel attribute field, it doesn’t show up in the lightbox. I tried to find out on the Fancybox site if there was another term I was supposed to be using but I couldn’t find anything.
Here’s the page in question:
http://alessandrabenton.com/blog/
Any help would sure be appreciated!
Thanks, Todd
LikeLike
Thx Helen! Will try it now.
I didn´t know I needed another plugin, sorry!
I don´t know if it´s in the plugin´s instruction, but if not maybe good to add this recommendation.
I´m installing shadowbox-js now.
Cheers, Donald.
LikeLike
Hello!
I like Your plugin very much. Is it possible to chance the setting “Page or post ID:” in a “category ID:”? This whould be very comfortable!
Best regards vom Germany, Markus
LikeLike
Hi Markus,
I don’t currently have any plans to be able to select images based on a category, as it wouldn’t be very efficient and I’d prefer to keep the plugin simple if possible. I will keep it on my list of things to think about, though!
LikeLike
Hi Helen,
Is there a way to use this plugin as a shortcode on a post/page, rather than as a widget?
LikeLike
Not at the moment, no. I hadn’t even though about a shortcode version, as the built-in gallery shortcode does much of the same. Is there something in particular that this widget does that the gallery shortcode can’t do for you? I’d be happy to entertain the idea.
LikeLike
Your article has really inspired me to totally change the way I write. I have to tell you I appreciate all your hard work.
LikeLike
Hello Helen, thank you very much for your great plug in!
My question is similar to Donald’s. Along with Really Simple Gallery Widget, I have installed “jQuery Lightbox For Native Galleries” (wp link here: https://wordpress.org/extend/plugins/jquery-lightbox-for-native-galleries/) and I am attempting to get the two plugins to work together. I would like to call colorbox, loaded by the Native Galleries plugin, via the Really Simple Gallery Widget’s “rel” field, but I don’t know if I can do that. All values I’ve put in that field so far have not worked.
The goal is to have the same nice colorbox result when clicking a RSGW widget image link as I now have in gallery posts using the Native Galleries plugin.
Do you have any thoughts on how I might achieve this? I am happy to swap out the Native Galleries plugin with another plugin if you’d recommend that.
Thank you Helen!
Alex
LikeLike
Hi Alex,
I’ve never used that particular plugin, but it appears to want a class rather than a rel attribute. Shadowbox JS is currently not available in the plugin repo, which is my usual suggestion, but there are likely others you can use out there (Fancybox or some other lightbox). I’m reluctant to add an option to add another class, as I think it’s already very option heavy, but it may come down to it. In the meantime, perhaps try some other plugins (though they also may not necessarily automagically work), and I will think on what I might be able to do.
LikeLike
Helen, thank you very much!
Yes, I agree the Native Gallery plugin is looking for a class, which I’m guessing is a consequence of it being specifically built for use with native galleries exclusively.
I appreciate your looking into it, and thanks again for your great plugin. I’m going to keep working with Really Simply Gallery Widget, and experiment with various lightbox plugins, as you suggest.
Alex
LikeLike
I’d love to be able to do categories. I know you’ve got it on your list. It would really make this work well for me.
LikeLike
It is on the list of things people have requested, but I haven’t come up with an efficient way to query for images attached to posts in a particular category. Since attachments (uploads) do not have categories or other taxonomies attached to them by default, it is much more involved than one might otherwise suppose.
LikeLike
Phew! Nice plugin, but I couldn’t get it working. After a few hours of swearing and head-scratching I realised it’s because I’m trying to get it to work on *pages* not *posts*. Suggest the following amendment to views/widget.php on line 11:
if ( $current_post_images == ‘1’ && (is_single() || is_page())) {
Then it will work on pages and posts.
Cheers.
LikeLike
First off, thanks for the great plugin.
I have encountered a seemingly simple problem: it displays images attached to posts that are drafts and are not yet published. Obviously it is due to using the entire media library option, but is there a way to check the post’s status first then only display the published post’s images?
Thanks again!
LikeLike
You should be able to utilize the new filters in 1.2 to help filter items out. I’d prefer to keep the default queries light rather than having to do things like check the publish status of the parent post.
LikeLike
Thanks for providing this plugin. The one thing I’d like to see added is a method to exclude images. I.E. I’d like to be able to show just some images associated with a post.
LikeLike
The images array now has a filter 🙂
LikeLike
Hello Helen,
First off… thankyou for developing something that uses the media library in an effective way. I do however have a problem.
Is there anyway to simply add multiple post/page id’s? it doesn’t let me save this when I try in the widget menu.
I am currently adding an area to a site that displays a gridded list of all images linked to posts… this then, on click links to the specific post… like a visual archive.
Hope you can help,
Regards
LikeLike
No, it doesn’t currently accommodate multiple parent page/post IDs in the UI. I think some of the new filters in 1.2 would be able to help you, specifically the one for altering the query arguments.
LikeLike
Hi Helen!
First of all, huge thx for that plugin – it helped me a lot!
Unfortunately I have one problem here, with version 1.3.
Am I able to put extra link under an image shown in sidebar?
I have to admin, I’ve looked to the code but haven’t found any closing “div” tag to place link just before it.
Can you please navigate me, where in code can I place that link?
Tom.
LikeLike
HI Helen,
Thank you for the great widget! It is working marvelously. Just wondering if I can change the timing of the loop. I would like to have the pictures change at a quicker rate.
Thanks,
Regina
LikeLike
I have set the “Type of Link to None” but when you click on the image it is still taking you to the image. Has anyone found a way to not have the image link to anything? I just want to have a banner ad without having it to link the image.
Thanks, John
LikeLike
Hello… Quick question.. Is there a way to point the source of the images from a wordpress gallery rather than the full media library, post/page, or ID? If so, how?
LikeLike
Hi, Helen, any chance on getting an update on this cool plugin ? It seems that it does not work with WordPress 5.5.1… Cheers, Michael
LikeLike