The Shiba Gallery Plugin allows you to display your WordPress galleries using a variety of Javascript libraries including Noobslide, TinySlideshow, SlimBox, Popeye, Picture Slides, and the WordPress native gallery.
You can display as many galleries as you want, and have different types of galleries within the same blog page.
Here is a detailed description of the Shiba Gallery Plugin.
New features for for Shiba Gallery 3.3 –
1. Gallery Frames
You may now assign a variety of styled frames to your WordPress blog galleries and images. Adding frames is easily done through the standard gallery shortcode.
[gallery id="10" frame="black" ]
Current frames include none, green, blue, gray, shadow, black, white, and border. Here are some example galleries with the different frames.
You may also assign a default frame to all your blog galleries and images. This is done through the new Shiba Gallery options menu in Media >> Shiba Gallery.
Look under Set Default Frame, and pick the frame of your choice through a drop-down menu. There is a check box below that determines whether this default frame should also be applied to images in your blog.
Once you are done with these settings, click on the Save Options button at the bottom of the page.
2. Gallery Captions
You may now set what type of captioning you want in the gallery shortcode. Captions may be set to none, title, description, or permanent.
- None suppresses all captions.
- Title only shows the title of the image, post, or gallery.
- Description shows both the title and description of the image, post, or gallery.
- Permanent only applies to Popeye galleries. Permanent turns off the hover effect in Popeye galleries and displays captions in a permanent location.
[gallery id="8686" type="popeye" frame="green" caption="permanent"]
3. Gallery Paging
Paging of your WordPress Galleries can also be achieved through the gallery shortcode using numberposts and page. Our dog pictures page uses the gallery paging system.
[gallery category="10" type="native" post_type="post" order="DESC" caption="title" frame="black" numberposts="5" page="2"]
The gallery shortcode above displays 5 entries per page, and in particular we want to show page 2.
4. Shiba Gallery Options Page
We have added a gallery options page under Media >> Shiba Gallery. This options screen allows you to easily set the default gallery type, default gallery image, default gallery frame, and default gallery caption.
Default values will be used on galleries that do not have type, frame, or caption explicitly specified in the gallery shortcode.
The default gallery image is used in cases where the post, page, or gallery does not have an associated thumbnail or featured image.
5. New Galleries
Finally we have also added some awesome new galleries including –
- Popeye 2.0 by Christoph Schüßler. They also have a Popeye WordPress plugin.
- Picture Slides by Robert Nyman. This provides an alternative thumbnail gallery to Noobslide.
- Slimbox 2 by Christophe Beyls. Slimbox is an efficient version of Lightbox that is solely based on jQuery. Slimbox will now be used in place of lytebox.
[gallery id="10" type="slimbox" frame="shadow" ]
Maura says
Hi there,
great plug-in.
I’m using lytebox and trying to get titles of the image to show up underneath each image. Can’t seem to get it to work using the caption shortcode. What could I be doing wrong? Do captions show up with the lytebox using that shortcode, or do I have to do something different?
Thank you!
ShibaShake says
The caption option for lytebox controls what appears in the popup image window (that is the default behavior). To add captions next to the thumbnails, you can probably edit shiba-slimbox.php, and add whatever captions html to the render function.
Bharat Chowdary says
Awesome gallery plugin, cant wait to try my hands !
anon says
is it possible to set the image title/caption to the post that it was attached to ?
do u have to create a seperate page for each lot of images if you want to use pagination ?
ShibaShake says
If you include a post, page, or gallery, the image title/caption will be set to the title of the post. You can also include a short excerpt of the post by setting the gallery caption to description.
I just use the standard WordPress nextpage marker. For example –
[gallery category="109" type="native" post_type="post" order="DESC" caption="title" numberposts="15"]
<!–nextpage–>
[gallery category="109" type="native" post_type="post" order="DESC" caption="title" numberposts="15" page="2"]
John G says
Thanks for the great plugin. Hey, what’s the easiest way to insert a gallery in the manual, PHP style, without widgets or shortcodes? Isn’t there some kind of post_id query or something like that? Any help much appreciated…
ShibaShake says
You can call the shortcode function directly. In this plugin the relevant function is parse_gallery_shortcode.
$attr is an array containing shortcode arguments and $output is whatever output string you want the gallery to be appended to.
John G says
Thanks. I’m going to try this. So $output could produce URLs of attached pictures, for example?
ShibaShake says
The function returns the gallery HTML string which will include all the image URLs etc. So you can do –
OR
Marco says
Great work, and thanks for shearing!
I was trying to output a gallery with php code too, using the function you suggested (below you can find the code), but the problem is that in this way the page miss the footer shortcode, therefore the gallery that shows up in the page is not animated, I tried then to echo the_shiba gallery_footer function but I wasn’t able to make it function, what I did wrong?
if (class_exists(“Shiba_Gallery”)) {
$instance = new Shiba_Gallery();
}
if (isset($instance)) {
echo $instance->parse_gallery_shortcode(”, $instance->options[‘default_gallery’]);
}
And than after the content:
if (isset($instance)) {
echo $instance->shiba_gallery_footer();
}
Thanks a lot in advance,
Marco
ShibaShake says
Hello Marco,
Try doing the following –
I tested this in a page template and it works on my setup. Let me know if you have problems.
Marco says
Thanks a lot, now it is woking just fine!!
Have a good one!
Marco
Alex Miller says
I really love these plugins, but man they are hard to find to download. There are so many links and text and images all over the page but I can’t seem to find out where to download these. I’ve searched wordpress plugins and their not there.
Please put a simple and plain and obvious link somewhere so it’s easier to direct download the plugin! ! ! !
ShibaShake says
Dear Alex,
You can always get the latest version of the plugin by going here –
http://shibashake.com/wordpress-theme/wordpress-plugins
All the download links in the article lead to the latest version unless explicitly specified. The download links are called –
Download Shiba Gallery Plugin
Alex Miller says
Doh! My fault. Thanks for your help and quick response!
Alex Miller says
First let me start off by saying I love these plugins! Their amazing! Definetly will use your plugins for future projects and make sure to give you the recognition you deserve on any wordpress website I do that uses your plugins!
I was wondering though, is there a way to set up width and height for separate galleries instead of universally? Here’s my current set up that doesn’t seem to work for some reason or another:
[gallery id="40" type="noobslide_galleria" width="500px" height="500px"]
Any suggestions?
ShibaShake says
Hello Alex,
To set the size of the gallery, you need to use size=”(500,500)”. Try doing –
Other expanded gallery shortcode attributes can be found here –
http://shibashake.com/wordpress-theme/super-wordpress-gallery-plugin#shortcode
Alex Miller says
😀 ! Very cool! Thanks again! Keep up the amazing work!
Raffi says
Hi,
I really appreciate the work you have done on the shiba plugin. I am a relative newbie and am having a hard time upgrading. My blog currently uses v.2.7.3 of Shiba Gallery. Trying to upgrade, but cannot find instructions. When I try to upload the zip file I get an error message. Can you, please, help?
Thanks,
Raffi
ShibaShake says
Hello Raffi,
What browser are you using? Try clicking on the link below and let me know what errors you get.
http://shibashake.com/wordpress-theme/shiba-gallery.zip
Thanks!