Gallery Widget Pro
I finally released another one of my plugins. This one is a widget that displays rotating images from a post’s gallery in the sidebar of your site. You just specify the post or page in the widget settings, and it will cycle through all the images from the gallery of that post or page. You can even have as many of them as you want on your site simultaneously! As usual, this plugin requires PHP5, and the latest WordPress (currently 2.5.1).
As many of you may have read, WordPress 2.6 will include another plugin of mine (built into the CORE) to allow you to reorder your images to make them display in whatever order you prefer. Until then, go get my Reorder Gallery plugin! They work great together!
Related Posts
16 Comments to Gallery Widget Pro
cool plugin … and developed just as I needed it.
can one have more than one condition for when to show or not to show it?
I don’t seem to get that working with just separating the conditions with a comma.
May 31, 2008
forget the previous. I asked in the wrong place - I was after the widget logic plugin which I installed at the same time ![]()
May 31, 2008
Aaron,
I get db errors trying to use the widget… line 253… the query has wp_posts hard coded in it…
May 31, 2008
oh, and nice feature addition to this widget would be to make it random instead of a fixed post…
May 31, 2008
dang, sorry - hit return too soon… I meant to add though that would likely be prohibitive for how many images might need to be loaded… maybe limit the number?
May 31, 2008
Mr Papa: I fixed the hard coded table prefix, and tagged version 1.0.1. It should be available in about 15 minutes.
As for the idea to let the widget choose a random post, I like it. I’ve added it to my list of things I’d like to do on it.
June 1, 2008
Thanks Aaron…
June 9, 2008
hope your vacation was good! just wanted to add a few more notes to my wish list for this guy
was going to try hacking em in this weekend, but got swamped on my own plugin support forum…
o random post as discussed in comments above but should be able to exclude/include which posts can be randomized so one can limit to actual gallery type pages
o change the size of the image displayed (precise sizing vs 3 wp defaults)
o would be nice to be able to display more than one slideshow in the widget (as opposed to having to use multiple widgets)… best if it supports the random feature too
I may still try to hack it out this coming weekend, if not sooner…
ps sent a donation your way for these nice plugins!
June 9, 2008
Thank you very much for the donation. It’s honestly the first ever received from any of the free items I offer, and I appreciate it very much.
I’m honestly going to be swamped this week and probably next, catching up on everything that didn’t get done while I was on vacation. However, I would love to have any changes that you make, and possibly commit them into the code. Also, depending on how things go, we may need to chat by phone or IM, to make sure I understand what all your ideas are. I love getting feedback and ideas from users.
June 9, 2008
sure, you have my email - just send me a note if we need to chat… just a few hours further South than you in AZ, so same timezone…
June 11, 2008
Aaron,
Hacked out the random image addition to your nice plugin tonight… sent you the file for your review/consideration…
I would just ignore my second and third bullets from previous comment… they are not needed with the random implementation (for me anyways
)
July 12, 2008
Hello,
Could you tell me if this ciuld work on WP-µ and if yes, how?
No need to mention I tried this version on µ but nothing happened ![]()
Thanks !
July 12, 2008
Actually, it does work a few hours later… I had various widgets mixed up !
Thank you for your work !
D.
July 19, 2008
Actually when we click on the gallery thumb it’s linked to the current page viewed and not the gallery’s post. In fact you try to get a value from a custom field called gallery_url but it doesn’t exist so $url is empty.
I made a little modification in order to link to the gallery’s post. I don’t know if it’s correct. First time I’m looking at wordpress functions. Anyway it’s working for me.
//$url = attribute_escape(get_post_meta($id, 'gallery_url', true));
$home = get_option('home');
$link = "post_parent title=’$post_title’>$link_text“;
July 19, 2008
bbcode ‘' not working?
//$url = attribute_escape(get_post_meta($id, ‘url’, true));
$home = get_option(’home’)
$link = “post_parent title=’$post_title’>$link_text“;
September 3, 2008
thank you for this widget.
it works fine.
but i want to insert a break in the top of the image view.
what can ido?
regards
jwqlb
Leave a comment
-
Basic Package
-
Business Package
-
Business Package
May 31, 2008