Shiba

Adventures in WordPress

  • — Home —
  • Dog
  • Art
  • Contact
  • WordPress Articles
    • WP Plugins
    • WP Programming
    • WP Admin Panels
    • WP Theme Design
    • WP How-To
    • WP Theme Images
You are here: Home / WordPress Plugin / Shiba Gallery / Shiba Gallery 3.7

Shiba Gallery 3.7

Tweet

by ShibaShake 37 Comments

Here is a detailed description of the Shiba Gallery Plugin.

New features for Shiba Gallery 3.7 –

1. Control Thumbnail Size

We can now specify thumbnail sizes for relevant galleries (Tiny Slideshow, Picture Slides, and Noobslide). Thumbnail size is set by using the tsize parameter, for example –

[gallery id="1969" size="(220,220)" tsize="(54,54)"]

The default tsize value is set to auto. This lets the plugin automatically determine a suitable thumbnail size, based on the total width of the gallery.

Below, we have two identical Noobslide galleries, but each with a different thumbnail size.


Siberian Husky smile.

Big Husky and Little Husky.

Shiba Inu and his shoe pillow.

Dog handshake.

Shiba Inu and duck toy.

Shiba and Husky playing in the grass.

Husky puppy on the green, green, grass of home.

Shiba Inu singing for his supper.

Husky puppy playing with a stick.

Shiba Inu smile.


tsize="auto"


Siberian Husky smile.

Big Husky and Little Husky.

Shiba Inu and his shoe pillow.

Dog handshake.

Shiba Inu and duck toy.

Shiba and Husky playing in the grass.

Husky puppy on the green, green, grass of home.

Shiba Inu singing for his supper.

Husky puppy playing with a stick.

Shiba Inu smile.


tsize="(32,32)"

2. New Galleries

Two new galleries have been added to the plugin.

I added back a new version of Galleria by Aino. Note – Galleria determines and sets thumbnail sizes on its own, so the tsize parameter will be ignored in this case.

We can change our galleria theme by hooking into the galleria_theme filter.

// Add to init function
add_filter('galleria_theme', 'set_galleria_theme');

Siberian Husky smile. Big Husky and Little Husky. Shiba Inu and his shoe pillow. Dog handshake. Shiba Inu and duck toy. Shiba and Husky playing in the grass. Husky puppy on the green, green, grass of home. Shiba Inu singing for his supper. Husky puppy playing with a stick. Shiba Inu smile.

Showing photos using Galleria

I have also added a navigation list gallery. This view is useful for grouping together a list of related posts, and then creating a site navigation page. For example, here is a navigation page on making greeting cards.

Below is a navigation list of 5 recent posts on this blog.

[gallery type="navlist" size="(54,54)" recent="1" numberposts="5"]

How to Make Poll Daddy Objects Mobile Responsive

Currently, the standard Poll Daddy objects that I use are fixed width and not mobile responsive. Here are some simple CSS styles that I use to make Poll Daddy objects responsive to small devices. [...]

Genesis Skins 1.5

Genesis skins allows you to flexibly create and assign skins to different posts, pages, or other custom post types. We can assign skins to an individual post or to groups of posts through the use of categories [...]

Shiba Media Library 3.7

The main addition to this release is an expansion on the media manager search interface- Posts, pages, and custom post types can now be searched for and added into galleries from the media manager interface. [...]

How to Expand the WordPress Media Manager Interface

This is an advanced tutorial on how to expand the WordPress media manager interface with new options. In particular, I want to expand the drop-down menu in the media manager menu so that I can do searches [...]

Shiba Gallery 4.3

This is a very big update, so please try things out on a test site first. Feel free to post bug reports here or in the main Shiba Gallery article. New features for Shiba Gallery 4.3 – 1. Client [...]


Showing Recent Posts using Navigation List - type="navlist" size="(54,54)" recent="1" numberposts="5"

3. Gallery Defaults Value Filter

I have added a filter to the gallery default values. This allows us to assign special default values based on the current post we are on, and other blog variables. For example, Shaun is interested in changing the default gallery type based on post type. The example code below uses the slimbox gallery for posts, galleria for pages, and the default gallery for all other post types.

// Add to init function
add_filter('shiba_gallery_defaults', 'change_gallery_defaults');
 
function change_gallery_defaults($default) {
	global $post;
	switch ($post->post_type) {
	case 'post':
		$default['type'] = 'slimbox';	
		break;
	case 'page':
		$default['type'] = 'galleria';	
		break;
	default:
		break;		
	}	
	return $default;
}

Finally, I also fixed some previous compatibility issues with Internet Explorer 7 and Internet Explorer 8. All galleries should now work properly on these browsers. The plugin was also tested on Chrome and Firefox.

How to Get Shiba Gallery.

Related Articles

Shiba Gallery Plugin

The Shiba Gallery Plugin allows you to display a variety of javascript galleries within your WordPress blog. All you need to do is specify the type of gallery you want in your regular WordPress gallery shortcode. The Shiba Gallery is very flexible and can render post, page, and gallery objects, in addition to image attachments. This article describes some of the cool things that you can achieve with the Shiba Gallery. [gallery id=10 type=tiny2 size=large frame=white tsize=none autoplay=1] [...]

Shiba Gallery 3.3

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 [...]

Shiba Gallery 4.3

This is a very big update, so please try things out on a test site first. Feel free to post bug reports here or in the main Shiba Gallery article. New features for Shiba Gallery 4.3 – 1. Client Responsive Galleries The biggest addition to this release is client responsive galleries. In release 4.0 we added server responsiveness which makes sure that the server sends the right sized images based on device width. In particular, we do not want to send a large desktop image to a smaller [...]

Comments

  1. thund says

    April 28, 2015 at 2:39 am

    Howdy,

    Great plugin, just one question I’m using this shortcode:
    [gallery id=8162 type=lightbox size="thumbnail" caption="none"]
    It works great, but how to set the next and prev arrow in the lightbox to always appear? I mean no need to hover to show it 🙂

    Thank you

    Reply
    • ShibaShake says

      April 28, 2015 at 10:25 pm

      I would override the CSS with something like this-

      .lb-prev {
        background: url('../wp-content/plugins/shiba-gallery/images/lightbox/prev.png') left 48% no-repeat;
        opacity: 1.0 !important;
      }
      .lb-next {
        background: url('../wp-content/plugins/shiba-gallery/images/lightbox/next.png') right 48% no-repeat;
        opacity: 1.0 !important;
      }
      
      Reply
  2. isabel says

    June 5, 2014 at 8:40 am

    Hi.
    im trying to make a tiny2 gallery respond to the arrows in the keyboard. Is it possible? thanks
    issa

    Reply
  3. MikeLos says

    January 12, 2014 at 2:21 pm

    Hi. is it possible to get old version of this wonderful plug-in to work with WP 3.3.2?

    Reply
    • ShibaShake says

      January 20, 2014 at 2:17 pm

      I only have time to support the latest version of the plugin.

      Reply
  4. John Gorentz says

    October 28, 2013 at 1:30 pm

    Is Shiba Gallery 3.7 still the main supported version, with 4.3 being in test mode? Your comments in the 4.3 section suggested that 4.3 was just for testing at this time. But when I thought I was downloading version 3.7, I got 4.3. Which do you recommend at this time?

    Reply
    • ShibaShake says

      October 28, 2013 at 2:25 pm

      I can only support the latest version, which is currently 4.3.

      I have added many features between 3.7 – 4.3, which is why I always remind people to test things out on a test site first.

      Reply
  5. Elena says

    June 14, 2013 at 1:25 pm

    Hi!

    Is there any option to stablish by default a custom size for images without use the specifici shortcode size=”(X, X)”? I can’t achieve it!

    Thanks!

    Reply
    • ShibaShake says

      June 17, 2013 at 1:33 pm

      You can hook into the ‘shiba_gallery_attributes’ filter to change any of the attributes using PHP.

      Reply
  6. vishal says

    May 17, 2013 at 1:54 am

    hello,
    Thanks for great plugin for multipurpose use
    i am using this plugin for portfolio.
    i use galleria type in slider,currently the small thumbnail carousel works but the do not rotate continuously.They stop after the last one.is there any solution that this carousel rotate continuous?

    Thanks.

    Reply
  7. Dan W says

    April 22, 2013 at 6:43 pm

    Awesome plugin!
    I usually don’t have any troubles, but currently am trying to make a tiny2 gallery and the gallery is not making itself wide enough. The right and left arrows end up on separate lines (as high as the gallery is) with the gallery on its own line in between.
    I’m using: [gallery id="109" type="tiny" size="(300,2250" link="none" tsize="none" autoplay="1" ]
    it’s outputting:

    where the width should be 350px to allow for the 25px wide sliderbuttons. Any ideas how to fix this?

    Reply
    • ShibaShake says

      April 22, 2013 at 9:34 pm

      Is there a sample page that I can look at?

      One thing to try is to put –

      <div style="clear:both;"></div> 
      

      before the gallery shortcode.

      Reply
  8. Joey says

    October 22, 2012 at 6:17 pm

    is there a detailed “HOW TO” instructions for this?

    I’m having a hard time figuring this out.

    Before with the old version all I did was input the short code on my post and it worked fine.

    And now since upgrading to the latest version, the short codes don’t work.

    I’m using [gallery id="348" type="tiny" size="(588,400)"]

    It worked flawless before, and now it doesn’t.

    Just need a detailed instructions on how to use it.

    Thanks

    Reply
    • Joey says

      October 22, 2012 at 6:18 pm

      forgot to mention that I am using studiopress. and that no images are sowing right now.

      Reply
    • ShibaShake says

      October 22, 2012 at 9:23 pm

      Hmmm, that is really strange. It should just work like it did before.

      I would try running it on a test site with just TwentyTen and Shiba Gallery. If that still doesn’t work, then try turning on error reporting and let me know what errors come up.

      Otherwise, the older version should still work with 3.4. The only thing that won’t work is setting the Default Image.

      Reply
  9. Josiah says

    October 3, 2012 at 10:16 am

    Great plugin! Thanks!

    I’m having trouble getting galleries to display on my posts. If I just use the [gallery] shortcode, I get the default gallery for the post, wrapped in some shiba html. If I try to set the ID to get a specific gallery I get nothing. I’m assuming this is because the ID I am using is wrong, but I got the ID from what was listed in the galleries page. What am I missing?

    Reply
    • ShibaShake says

      October 3, 2012 at 1:30 pm

      There could be many causes for no images showing.
      1. Non existent ID.
      2. No images are attached to the ID.
      3. Error in the shortcode.
      4. Error in the gallery.
      5. Error in rendering the gallery.
      6. Conflicts with theme.
      7. Conflicts with other plugins. etc.

      I would start by turning off Shiba gallery, and seeing if the galleries work with just the WordPress native shortcodes.

      Reply
  10. Dan W says

    September 24, 2012 at 12:28 pm

    Excellent plugin!

    Is there a way to make the description length longer? I’m using the slimbox gallery and it is truncating my photo descriptions on the front-end after only 100 characters or so. I’d like it to include with each photo the description field no matter how long it is, or at least up to 500 characters.

    How can this be done?

    Reply
    • ShibaShake says

      September 25, 2012 at 12:12 pm

      1. Look in shiba-slimbox.php.

      2. Find the line (around 26)-
      $img_caption = $shiba_gallery->helper->get_caption($image, $caption, $link);

      change it to
      $img_caption = $shiba_gallery->helper->get_caption($image, $caption, $link, ‘-‘, 500);

      I will include a filter for changing this in the next update.

      Reply
  11. Richard says

    August 10, 2012 at 7:28 am

    I would like to create a gallery on a page with the images on the left and the descriptions on the right. Nearest thing I can find is the slider on this page:

    http://demo.studiopress.com/agency/

    Can something like this be done using Shiba?If so, can you let me know how?

    Many thanks

    Reply
    • ShibaShake says

      August 13, 2012 at 12:15 pm

      It is probably possible to adapt noobslide to create something like this. However, that would require a fair amount of CSS and noobslide experience.

      Reply
  12. Michal says

    June 17, 2012 at 7:49 am

    Thank you for the great plugin.
    I’m using the noobslide galleria and I want to translate the play/previous/next labels, but I can’t seem to find it in the code. Could you help me?

    Reply
    • ShibaShake says

      August 1, 2012 at 7:52 am

      shiba-noobslide.php, lines 633-638

      Reply
  13. Joyce vdb says

    June 13, 2012 at 1:23 pm

    Hi – me again!
    I upgraded to the latest Gallery plugin 3.7x to remedy the “only 10 thumbnails showing” issue, but now I have a different problem.
    If I have mixed photos in landscape and portrait orientation, it looks like there is an overlapping problem. For instance a portrait comes after a landscape and you can still see the landscape behind the portrait. Is there a setting… or should only have 1 sized photos? thank you again!

    Here is a page which demonstrates the issue. I’m sorry but you will have to forward through the photos to see what I’m talking about. But I think you understand the problem.

    http://padmagroup.myvirtualsolution.co/portfolio/littlebrook-residence1-princeton-nj

    Reply
  14. terry says

    June 10, 2012 at 9:47 am

    Hi, thank you for this great plugin. I am using 3.7 and the “galleria” type.

    Is there any way for the large image to popup in a lightbox when clicked? Currently it just opens in a browser window, like the Galleria example you have above in #2

    I have tried a few of the WordPress lightbox plugins but they do not seem to work with Shiba/Galleria.

    Thanks for any thoughts.

    Reply
  15. Joyce says

    May 23, 2012 at 7:50 pm

    Hi,

    Thank you for this great plugin. I’m making my way through the all the documentation and files but can’t find where to make the change for > 10 thumbnails per gallery.

    I’m having issues as well with only 10 thumbnails showing up.
    Could you tell me what you changed?

    I’m using Tiny and noobgalleria, these galleries have more then 10 images.

    http://padmagroup.myvirtualsolution.co/?gallery=padma-estate
    http://padmagroup.myvirtualsolution.co/?gallery=padma-north
    http://padmagroup.myvirtualsolution.co/portfolio/brookstone-drive

    Thank you so much in advance! I appreciate all your wonderful work.
    Joyce

    Reply
    • ShibaShake says

      May 24, 2012 at 9:57 am

      Hello Joyce,

      It is probably easiest to just re-download the zip and reinstall. It should be fixed in the most recent zip. Let me know if you run into more problems.

      Reply
    • Joyce van den Berg says

      May 31, 2012 at 12:45 pm

      Hi,
      The update worked! Thank you, thank you.
      Love it and your work. Seriously where is that donate Button?

      Reply
  16. Keith Davis says

    May 19, 2012 at 8:09 am

    Sorry for second comment Shiba.
    I already have an older version of your plugin installed on a local site install – I am not being prompted to upgrade – do I need to upgrade manually?

    I have slimbox as the Gallery type, does the tsize parameter support slimbox.

    Agree with Jimmy – you should have a donate button.

    Reply
    • ShibaShake says

      May 31, 2012 at 10:51 am

      I already have an older version of your plugin installed on a local site install – I am not being prompted to upgrade – do I need to upgrade manually?

      Yes. The plugin is not in WordPress.org, so you will need to upgrade it manually.

      I have slimbox as the Gallery type, does the tsize parameter support slimbox.

      You can set the slimbox image sizes by just using the regular “size” parameter. “tsize” is only relevant in those cases the have both a larger image and thumbnail images underneath it, for example in tiny and pslides.

      Reply
  17. Keith Davis says

    May 19, 2012 at 7:39 am

    Hi Shiba
    Good to see that you are updating and adding to an already great plugin.

    I’ve just started on a client site where several galleries may be required and each one may need different sized thumbs.
    Looks as though your tsize parameter may be just what’s needed.

    I may not need to, but can I style each gallery differently?

    Thanks for taking the time to develop this plugin.

    Reply
    • ShibaShake says

      May 31, 2012 at 10:48 am

      I may not need to, but can I style each gallery differently?

      Yes that should work. If you run into problems, let me know.

      Reply
  18. Jimmy-james says

    May 11, 2012 at 9:11 am

    Awesome!! Thank YOU

    Reply
  19. Jimmy-james says

    May 10, 2012 at 11:26 pm

    Hi again – I’m using pslides, but have tried a few others and they all seem to only show 10 thumbs and ignores the rest. If it’s not limited by the plugin it must be in my theme. I’ll look there and see what I can find.

    Reply
    • ShibaShake says

      May 10, 2012 at 11:51 pm

      Opps, I found the problem. It was my bad – I had set the default numberposts to 10. I have fixed it so just download the zip again and reinstall.

      Thanks for reporting this.

      Reply
  20. Jimmy-james says

    May 10, 2012 at 9:38 am

    Wow – totally cool plugin! You should definitely put up a paypal donation button. This easily competes with several paid options out there.

    How to you set a higher limit of thumbs than 10?

    Thanks for the great plugin!

    Reply
    • ShibaShake says

      May 10, 2012 at 11:52 am

      Thanks Jimmy-james.

      There should be no limit on the number of thumbnails. Are you having issues? Which gallery type are you using?

      Reply

Leave a Reply to Keith Davis Cancel reply

Your email address will not be published.

Recent Posts

  • Screen-shot of mobile responsive Poll Daddy object, where text floats properly to the right of radio buttons.How to Make Poll Daddy Objects Mobile Responsive
  • Screen-shot of blog post with no page border (flowing design).Genesis Skins 1.5
  • Screen-shot of the media manager Create-Gallery screen, while doing a post search.Shiba Media Library 3.7
  • Screenshot of the Edit Gallery screen after we hit the Create Gallery button.How to Expand the WordPress Media Manager Interface
  • Blonde girl looking through and holding a circular picture frame.Shiba Gallery 4.3
  • Close-up of beautiful blonde holding a square picture frame.Google Authorship - Good or Bad for Search Traffic?
  • Shiba Widgets 2.0
  • Media Temple screenshot of editing my sub-domain DNS entry.Using CDN Cnames with w3tc and MultiSite
  • Shiba Skins WordPress ThemeShiba Skins WordPress Theme
  • How to add the Media Manager Menu to the Theme Preview InterfaceHow to Add the Media Manager Menu to the Theme Preview Interface

Recent Comments

  • Populate our Edit Gallery menu using a gallery shortcode.How to Add the WordPress 3.5 Media Manager Interface – Part 2 (29)
    • Janine
      - Still relevant in 2019.
  • Update custom inputs with the proper data using Javascript.Expand the WordPress Quick Edit Menu (57)
    • PhoenixJP
      - Thanks for this tutorial. Does someone knows if this still work with wordpress 5.03 and 5.1.
    • Francine Carrel
      - This is a very long time away from your original comment, but did you ever work it out? I am stuck on the exact same thing ...
  • WordPress Search Widget – How to Style It (55)
    • TelFiRE
      - How do you style the "X" that shows up when you start typing?
  • WordPress Excerpt – How to Style It (36)
    • James
      - Great post. I really need some help. I have set border lines around my excerpts on my blog page/post page. The problem is ...
  • Add Custom Taxonomy Tags to Your WordPress Permalinks (123)
    • Darshan Saroya
      - Update permalinks. Go to settings > permalink and just save it.
    • Darshan Saroya
      - I want to access two different types of taxonomies like city and room, how can I access it via wp permalink?
  • How to Selectively Load Plugins for Specific Pages (6)
    • cla
      - Perfect! But at first I was misled, I thought the path / wordpress-theme / was an your alias of / theme .. and nothing happened.. ...
    • Aeros
      - Hi, I have tried your way. My problem is i'm using boilerplate to most of my plugins. When i tried to include the plugin ...
  • Write a Plugin for WordPress Multi-Site (44)
    • An Quach
      - I always use single site because it's easy for me to managed. When I need another worpdress on subdomain or subfolder, I ...

Copyright © 2019 · Genesis Skins by ShibaShake · Terms of Service · Privacy Policy ·