I just released a simple WordPress widget which allows you to show links to NextGEN Gallery galleries in your sidebar. For more information and download take a look at the wordpress repository.
I just released a simple WordPress widget which allows you to show links to NextGEN Gallery galleries in your sidebar. For more information and download take a look at the wordpress repository.
54 Comments
baron
18.04.2009 18:13
Works great, thank you
SirH
18.04.2009 19:48
thx !
John Myrstad
20.04.2009 12:11
Nice addition to NextGen functionality. Looking forward to a 2.8 compatible update since the widget doesnt show in 2.8.
John Myrstad
Mathias
20.04.2009 12:13
Didn’t try this on WP 2.8 yet, but I will do shortly.
Marcus
24.04.2009 15:16
Hi,
I Hope you’re fine !
I’m french and I use Wordpress 2.7.1. I install your plugin in my website but the plugin no appear in my Widget editor.
How can I do ?
Thanks you in advance for your help
Mathias
24.04.2009 15:21
Hi, I’m fine thanks
Do you have NEXTGen Gallery installed? The widget does only initialize if it finds the NEXTGen Gallery Functions
Marcus
24.04.2009 15:36
Hello,
I apologize !
The plugin works perfectly !
In fact on my local server, it does not appear, but once online everything works fine!
However, I have a question … is it possible to use the plugin out of the sidebar?
I want to put it, in my footer…is it possible ?
Thank you in advance,
Peace
Mathias
24.04.2009 15:42
This is a widget so it works everywhere where you define a widget area in your theme. Maybe you should take a look at Widgetizing Themes at the WordPress Codex.
Marcus
24.04.2009 15:52
In fact I want to know, if this widget has a php code than I can put in my footer.
For example, with the original Widget NEXTGEN, I put in my sidebar random images of my galleries including this php code :
Mathias
24.04.2009 15:59
Basically it’s not designed for that usage, but you could try something like this (not sure if it works):
<?php ngg_sidebar_gallery_widget(array('before_widget' => '<div>', 'after_widget' => '</div>', 'before_title' => '<h3>', 'after_title' => '</h3>')); ?>However, that way you can’t set any options. The only possibility to do so is to add the widget to your sidebar, configuring it, saving the settings and removing it afterwards. This will save the settings to the DB and the call above will use that settings.
I should consider improving the usage in a future release
Marcus
24.04.2009 15:58
oopps I want to say :
” I put in my footer the following php code :
”
sorry for my bad english :s
Marcus
24.04.2009 17:01
Hi !
Thanks a lot for the php code, it’s works perfectly
Your plugin is amazing ! For more than 4 days I am looking for a way to do that!
Thaaaaaaannnnkkkssss a lot !!!
LP Charbonneau
04.05.2009 03:22
I’m gave you plug-in a quick spin. At first it do anything.
The check for if class_exists(‘nggLoader’) always returning false. I have NextGen installed.
I just removed the check and everything is working wonderfully. This isn’t a real fix it’s just a hack.
Anyways, just letting you know. Thank you for working on this plug-in.
LP
Brent
04.05.2009 11:59
Hi Mathias,
I’m having the same trouble others have described getting the widget to show up. I have NextGen installed and I’ve tried removing the nggLoader check as LP suggests, but the widget isn’t appearing for me. I was curious if there were any options within NextGen gallery that might be an issue or any troubleshooting steps you could suggest.
Thanks,
Brent
WP 2.7.1 – PHP 5.2.5 – MYSQL 4.1.22
Falco Stellare
05.05.2009 20:06
Same problem here, plugin installed with NextGen Gallery up and running, but no widget available :-( Any hints?
Mathias
08.05.2009 16:37
There was an error in the check for NGG, so the widget didn’t show up. I just uploaded a fixed version (0.2.1), hope the problem is solved now.
Brent
08.05.2009 19:25
Thank you Mathis! Very happy to finally get this plugin working. I can’t tell you how much I appreciate the time and effort you put into developing this little gem, its a perfect companion to NGG. Thank you again.
Mike
07.06.2009 20:12
This is a great plug-in. But I would like to know how to space out the gallery pictures and add a border around the images?
Mathias
19.06.2009 17:22
@Mike, just do this via CSS. The widget just outputs the images as links, e.g. like this:
Some CSS magic will allow you to style your images, e.g. (untested):
#nextgen-gallery-sidebar-widget { clear: left; } #nextgen-gallery-sidebar-widget a { display: block; float: left; margin: 0 10px 10px 0; } [...]Senshi
04.07.2009 14:40
Hi, wäre es auch möglich ein zufälliges Thumbnail aus der zufälligen Galerie anzuzeigen?
Also praktisch wie bei dem Standard- NextGen Widget, nur mit deiner Funktion, welche zu einer Galerie weiterleitet.
Jonah
06.07.2009 22:48
Does anyone know how to get the gallery to show multipal images Both horizontally and vertically and add some space around the thumbs. I did see the css code above, but I do not know where in the style sheet to put it.
Any help woud be great, thanks.
Jonah
Mathias
13.07.2009 18:10
@Jonah, I prefer separating output and presentation, that’s why I didn’t include any stylesheets with the plugin. Just add CSS declarations like the above to any of your theme stylesheets.
Senshi
10.07.2009 09:30
Still no response
Perhaps i try it in English, not sure if you speak German…
Can you add another feature to your NextGEN Gallery Sidebar Widget? It would be nice, if the thumbnail of the gallery would be a random thumbnail.
Just add, an additional option like (Thumbnail Order) below Gallery Order, where you can choice between “first picture, random picture” or smething else.
MfG. Senshi
Mathias
13.07.2009 17:05
@Senshi, sorry I had very little time to deal with my blog lately. I’ll add the option to the widget and will let you know afterwards. Btw: I do speak German
Mathias
13.07.2009 18:11
Done and uploaded to the WP repository as version 0.2.2. You can now select between first image, gallery preview image (the one set on the NGG gallery management page) and random.
Senshi
14.07.2009 00:42
Thank you, great job
Mathias
14.07.2009 23:04
angie
14.07.2009 19:53
hi there matt.. i’ve already installed the 0.2.2 version and activated my plugin, but it still doesn’t appear on my sidebar.
Do i need to add anything to my sidebar.php file? coz i dont see any codes generated there to include this widget
pls advice. thanks!!
Mathias
14.07.2009 22:55
Hi Angie,
does the widget show up on the widgets options page? Do you have NextGen Gallery installed? You shouldn’t have to change anything on your sidebar.php file as long as it is widget ready (do other widgets work?)
Quick Colorado
15.07.2009 16:49
Like @Jonah, I would like to get the widget to display more than one pic. The reason has to do with the physical size of my sidebar block: http://otterproductionsinc.com
I need the image to take up more space. Simply setting the image size larger gave me a big pixelated image. I was hoping to have two images appear in my sidebar gallery block side by side.
I fooled around with the code and the best I could come up with was to add some padding and a border to the image with CSS:
~Line 97:
style="padding: 10px; background-color: #CAC9B1; border: 1px solid #333;How about an image title?! I could use your existing code to add the name of the album below the thumbnail; with only one gallery/album I would prefer the image title. Can’t seem to figure out how to get that to display.?
Great plugin BTW. Very clean code and easy to integrate.
Mathias
30.07.2009 13:44
Hi,
sorry for the delay, seems that I missed your comment in some way
. If you want to use larger images, you’ll have to use the AutoThumb integration as then the original sized images will be used and resized by AutoThumb.
For your CSS problem: something like this should do the trick:
.ngg_sidebar_gallery_widget a { display: block; float: left; margin: 0 5px 5px 0; }Including image or gallery titles is not possible at the moment, but I’ll include it in later versions.
– Mathias
Flavio
06.08.2009 20:47
Have you seen the solution I’ve implemented?
Please, see my comment
Flavio
30.07.2009 06:15
How about an image title?
How can we do?
Mathias
30.07.2009 13:45
As stated above, this is not possible at the moment. However, feel free to make the changes and contribute a patch
– Mathias
Flavio
30.07.2009 06:16
How about gallery title?
How can we do?
Quick Colorado
30.07.2009 14:00
I hear an echo in here?!
Mathias
30.07.2009 14:01
Just answered your comment above
Flavio
30.07.2009 19:17
Oh, i’ve got the answer!
I’ve just put the following lines:
before the line
The H2s are for a better display. The rest I implemented by CSS.
See the result at: http://calvario.org.br/
Mathias
31.07.2009 00:01
Nice one
I’ll implement some sort of templating mechanism which will let you have control over the output in future versions (and change to WP’s new Widget API too).
Alex Yeung
08.08.2009 11:40
Hi!
You did a good job! I like this plugin very much.
However, I am trying to categorize my images without posting it as a post. Do you know how to do that?
Thanks!
Alex
aswat
24.08.2009 12:41
Hi!
Your plugin works great and im using the gallery widget in my site and according to my need ,It must display the image title below all the images ,whether this is possible,if its possible please let me know how?
Thanks&Regards
B.V.Aswat
Mathias
24.08.2009 12:58
@aswat: Thanks for the feedback
At the moment unfortunately not as it was designed to just display the images without any additional markup/output. If I find some spare time I’ll add a templating mechanism which lets the user have control over the output (e.g. including titles, etc.). If your need it by now have a look at the source code, shouldn’t be too complicated to change the output according to your needs.
– Mathias
aswat
28.08.2009 08:35
Hi Mathias,
sorry for the delayed replay ill look to do it in the source code if done i’ll let u know in this forum
Thanks&Regards
B.V.Aswat
Laosan
05.09.2009 07:40
How to manually add code to the sidebar to let it shows the list of gallery?
I have a costumed sidebar I don’t want change it, if I use the Widget it will change all the sidebar, so I just want add some code to list the galleries thumb and link, then link to the gallery page, can you enlighten me want code I should add to the sidebar?
Thanks!
mammdouh
24.09.2009 13:46
ThankYou
This code
Very nice
But I want to show pictures of specific folders and not all folders
I hope to help
Alexander Kalkbrenner
13.10.2009 12:55
Hallo Matthias,
eine Frage zum NextGEN Sidebar Widget:
Habe es über die Widgets eingebunden – leider wird jetzt in der Sidebar zu viel Platz unter der Galerievorschau gelassen, siehe hier:
http://www.a-k-f.de/blog
Wieso ist das so? Vielen Dank schon vorab!
Lightrip
16.12.2009 21:06
Hello!
Thank you for this plugin.
Could you please tell us how to exclude galleries from this sidebar – by their id?
Lightrip
11.01.2010 18:35
also i’d like widget to select and order galleries according ngg albums. i hope that would be possible in next releases.
jose
22.01.2010 14:11
hi there!
quick question, i have been looking for a solution to this for a while, so thanks a lot for th eplug in and for all the updates.
I have a question. i have already installed next gen gallery and also installed your plugin. it all works fine.
my problem is: when the thumbnails show on the side bar the link to a page. the so called gallery page.
here is the question: is there a way that when creating the gallery page, this page wont show on the navigation bar automatically?
thanks for your help.
Jose
Corinne
25.01.2010 23:32
I am a newbie when it comes to webdesign. I have installed nextgen gallery and added the smooth plug-in.
I added a border around my large pictures…..and for the life of me I can not find where I did that. Could you tell me where I can change the border thickness for the pictures.
Thanks and sorry for the dumb question:(
Nice plug-in thank you for your hard work!!
Quick Colorado
25.01.2010 23:37
Can you provide a url? I expect it is in the css.
kathy
25.02.2010 18:05
I am still struggling to get spaces to show up between my two gallery thumbnails in the NextGEN sidebar widget on my home page.
In Internet Explorer there is no space between the two images, they are directly on top of each other.
I put the following code in the .css file of the theme I am using, but it still didn’t make a difference, using one or all of these.
#nextgen-gallery-sidebar-widget {
clear: left;
}
#nextgen-gallery-sidebar-widget a {
display: block;
float: left;
margin: 0 10px 10px 0;
}
.ngg_sidebar_gallery_widget a {
display: block;
float: left;
margin: 0 5px 5px 0;
}
In Firefox however there is a space between the two images, even without adding the code.
So I am still baffled!
Flash Buddy
25.02.2010 19:15
Kathy, post the url? Suggest using if IE conditional css statements.
ecovab
06.03.2010 01:24
Hi Mathias,
If I have the autothumb generator and the NextGen gallery sidebar widget – where do I place the image width and height parameters. It says I have to go into my html? But if it’s a sidebar??? I guess I can add the image parameters to the sidebar.php file under a div or something?