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 4.3

Shiba Gallery 4.3

by ShibaShake 32 Comments

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 iPhone and vice versa.

In this release we add client responsiveness. This allows galleries to adjust their width according to browser resize events. This means that when we resize our browser window, or rotate our iPhone screen, our galleries will automatically resize based on the current browser width.

More on server and client gallery responsiveness.

[gallery id="1969" type="noobslide_thumb" size="(640,480)" responsive="aspect" link="slimbox"]

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.


Example noobslide gallery with client responsiveness turned on.

Client responsive is set as a gallery shortcode option, and there are three possible values –

  • none – Disable client responsiveness for current gallery. Client responsiveness requires additional javascript processing, which can slow down our galleries. In pages where there are many galleries, it is best to disable client responsiveness especially for smaller mobile devices such as the iPhone.
  • width – Automatically resize the width of our gallery while its height remains the same.
  • aspect – Automatically resize the width of our gallery while maintaining its aspect ratio. I.e., the height changes as well proportionally to the change in width.
[gallery id="1969" type="noobslide_thumb" size="(640,480)" responsive="width" link="slimbox"]

  • 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.


Example tiny2 gallery with client responsiveness set to width.

2. Expanded Link Attribute

Based on user requests, the link attribute has been expanded to include slimbox and lytebox. This means that when a link or image is clicked, we can open slimbox or lytebox and keep our user on the same page. The above two galleries for example, have link set to slimbox.

Close-up of beautiful blonde holding a square picture frame.
Expanded Link Attribute

3. New Gallery Shortcode Attributes

The following gallery shortcode attributes have been added-

  • crop – [1 or 0]. Allows gallery images to be cropped on one dimension.
  • active – [1 or 0]. Determines whether images within the gallery are link active or not. Clicking on an active gallery image is the same as clicking on the image title link. Our actual destination is set through the link shortcode attribute.
  • cpos – [bottom, top, left, right]. Sets the gallery caption position to the bottom, top, left, or right.
Blonde girl holding out a square picture frame.
New Gallery Shortcode Attributes

4. Create a slimbox gallery based on captioned images

We can now create a slimbox gallery using all the captioned images within a post. All captioned images will be grouped together in its own slimbox gallery. Gallery images and non-captioned images will not be included.

We enable this blog-wide by going into Media >> Shiba Gallery and clicking on the ‘Make post gallery’ checkbox.

For example, clicking on the image below will bring up a lightbox gallery of all the images on this page.

Blonde girl looking through and holding a circular picture frame.
Create a slimbox gallery based on captioned images

5. New Gallery Settings Page

The Media >> Shiba Gallery settings page has been given a major face-lift.

  • Controls are now presented using styled metaboxes.
  • More default gallery attributes have been added.

We have also updated galleries to work on the new jquery library included with WordPress 3.6. Plugin tested on WordPress 3.6 and WordPress 3.5.

How to Get Shiba Gallery.

Leave a Reply Cancel reply

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

Comments

« Previous 1 2
  1. aaron says

    October 29, 2015 at 1:02 pm

    Hi, i’m wondering if its possible to set the main image area in the tiny2 gallery (with thumbs) to an automatic height based on the image? My gallery has multiple vertical and horizontal images, so when the horizontal ones are up, there is a lot of space above and below that shows up.
    Can this be fixed?

    Reply
« Previous 1 2

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 the Success, WordPress has been installed page.How to Create a WordPress Website on Amazon EC2 (AWS) (1)
    • Erik
      - Great article. All worked great except for this step:apt install php-mysqlChanging to this fixed it:apt install ...
  • Add Custom Taxonomy Tags to Your WordPress Permalinks (125)
    • Anthony
      - Where does this code go? Like, what exact .php file please?
  • 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, ...

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