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:
28 Responses to “Gallery Widget Pro”
Leave a Reply
Pings/Trackbacks
-
[...] Displays rotating images from a post’s gallery in the sidebar of your site Download: http://xavisys.com/2008/05/gallery-widget-pro/ [...]
-
[...] Gallery Widget Pro [...]
-
[...] of considerably simpler code. I’m looking forward to updating my WordPress Twitter Widget, Gallery Widget Pro, and Get Free Web Designs Widget. I also plan to release a few new widgets using the new [...]
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.
forget the previous. I asked in the wrong place – I was after the widget logic plugin which I installed at the same time
Aaron,
I get db errors trying to use the widget… line 253… the query has wp_posts hard coded in it…
oh, and nice feature addition to this widget would be to make it random instead of a fixed post…
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?
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.
Thanks Aaron…
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!
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.
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…
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
)
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 !
Actually, it does work a few hours later… I had various widgets mixed up !
Thank you for your work !
D.
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";
bbcode ‘
' not working?//$url = attribute_escape(get_post_meta($id, 'url', true));
$home = get_option('home')
$link = "post_parent title='$post_title'>$link_text";
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
Hey, great plugin. I have used this on a site before running WP 2.6.2 but just recently added it to another site running the same WP 2.6.2 with PHP 5.0 but keep getting the following message when I try and activate the plugin:
“Plugin could not be activated because it triggered a fatal error.
Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /home/content/g/o/r/gordonwhale/html/wp-content/plugins/gallery-widget-pro/gallery-widget-pro.php on line 50″
I’m not very PHP savvy so I’m not sure how to fix it… could be it be another plugin? Any help would be appreciated!
But besides that, I love the plugin and it runs great on my first site. Thanks so much!
Any help for the above problem? The site I am trying to run it on is gordonandthewhale.com in the box right under where it says “news”. It worked on our test site, http://onepassiondesigns.com/gatw/ but not on the actual site…
@Cameron, i am quite sure your site is under PHP4, do a
Hello,
I am the developper of a WordPress plugin called MailPress.
One of my ‘adopters’ have found a plugin conflict with “Gallery Widget Pro” under admin.
In fact when displaying the MailPress Write screen (using tinymce), the browser freezes, (the js and html is almost very similar to Write post and page).
After a quick analysis, i saw that whatever page WordPress is loading, your plugin adds the following to the current page :
does all these js libraries are necessary wherever you are in wordpress ?
If not necessary under admin could you
1) test if under admin (the ‘if is_admin()’ can do it)
2) if necessary on a specific admin page, could you test the value of $_GET['page'] to have this js included in the appropriate pages.
Thanks !!
the js libraries are :
wp-content/plugins/gallery-widget-pro/js/fastinit.js?ver=1.3
prototype.js?ver=1.6
scriptaculous/scriptaculous.js?ver=1.8.0
scriptaculous/effects.js?ver=1.8.0
wp-content/plugins/gallery-widget-pro/js/crossfade.js?ver=4.1
wp-content/plugins/gallery-widget-pro/js/gallery-widget-pro.js?ver=0.0.1a
The site http://www.gordonandthewhale.com is running on PHP 5 so I’m guessing that’s not the problem…?
it's ok. thanks
it does work a few hours later… I had various widgets. Finally troubleshooted
I loaded this widget and it prperly displays the photos on the sidebar, but the title above it is that of whatever page or post I’m on. I can’t fix it. Any ideas? I don’t know php. I made and saved as a draft a post, but I don’t get the name of the post to choose in the widget options dropdown list. I hate to be stupid about this but I just can’t figure it out. Thanks for helping!
It sounds like there might be some glitches that need to be addressed. I’ll try to get some time to look into it, but I’m really slammed at the moment.