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

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 Harness the Power of WordPress Gutenberg Blocks and Combine It with Legacy Free-Form Text

We modify the WordPress Gutenberg editor so that we can use free-form text blocks as before and combine them with the power of blocks. In this way, we get the new power of Gutenberg blocks without losing [...]

Migrating Your WordPress Website to Amazon EC2 (AWS)

I describe how I migrated my WordPress sites onto an Amazon EC2 instance. I discuss the problems that arose during migration and how I fixed them.

How to Set-Up SFTP on Amazon EC2 (AWS)

This article describes how I set up a separate SFTP account on my Amazon EC2 server. We also describe how to use those SSH keys with WordPress.

How to Prevent Gutenberg Autop from Messing Up Your Code, Shortcodes, and Scripts

One of the biggest problems with Gutenberg autop for me is that it messes up my code, WordPress shortcodes, and scripts. Most of my articles were written before Gutenberg, and if I edit any of them using [...]

How to Create a WordPress Website on Amazon EC2 (AWS)

After a long-hiatus, I once again caught the web-bug and decided to get back to experimenting with my websites. My first project was to migrate my sites from Media Temple over to Amazon AWS. The key reasons [...]


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.

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Comments

1 2 Next »
  1. 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
  2. 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
  3. 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
  4. 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
  5. 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
  6. 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
  7. 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
  8. Jimmy-james says

    May 11, 2012 at 9:11 am

    Awesome!! Thank YOU

    Reply
  9. 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
  10. 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
1 2 Next »

Recent Posts

  • Screenshot of an example article in code view of a modified Gutenberg editor.How to Harness the Power of WordPress Gutenberg Blocks and Combine It with Legacy Free-Form Text
  • Screenshot of the Success, WordPress has been installed page.Migrating Your WordPress Website to Amazon EC2 (AWS)
  • Screenshot of WinSCP for creating a SFTP configuration.How to Set-Up SFTP on Amazon EC2 (AWS)
  • WordPress Gutenberg code view screenshot of this article.How to Prevent Gutenberg Autop from Messing Up Your Code, Shortcodes, and Scripts
  • Screenshot of the Success, WordPress has been installed page.How to Create a WordPress Website on Amazon EC2 (AWS)

Recent Comments

  • Screenshot of an example article in code view of a modified Gutenberg editor.How to Harness the Power of WordPress Gutenberg Blocks and Combine It with Legacy Free-Form Text (1)
    • tom
      - hi,my experience was like the same, but for me as theme developer the "lazy blocks"(https://wordpress.org/plugins/lazy-blocks/) ...
  • WordPress Custom Taxonomy Input Panels (106)
    • Phil T
      - This is unnecessarily confusing. Why declare a variable with the same name as your taxonomy? Why did you choose a taxonomy ...
  • Create Pop-up Windows in Your WordPress Blog with Thickbox (57)
    • Jim Camomile
      - I have used this tutorial several times and it is one of the few simple and effective ways to add popups with dynamic content, ...
  • How to Add Admin Columns in WordPress (7)
    • Andy Globe
      - Hi Friends, I am facing two problem in WordPress admin1. Load custom CSS for wp-admin on user-role base (editor) 2. ...
  • Example blog front-page using excerpts and the Shiba Theme.Optimize Your WordPress Plugins with Tags (5)
    • DF
      - thanks, i went the other way and added a filter if pages I wanted.

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