How to set up multiple galleries in one post or page

If you want to display several different galleries on one post or page of your blog, or even in a number of separate widgets, it is easily achieved with [Galdget] (or [Galdget plus+]).

Since Galdget comes in two flavors, you have two options:

  • Option 1: Fancy, with nice frame, premium (need to buy a plugin)
  • Option 2: Free but cool, without a frame but with lots of other features

Option 1: Fancy, with nice frames, premium (need to buy a plugin)

Something like the Smartberry in the left sidebar on this page, maybe with some other “frame”. Frames, of course, can be changed:

Galdget plus+ gallery frame
 
Galdget plus+ gallery image
Galdget plus+ gallery frame
Galdget plus+ gallery image
Galdget plus+ gallery frame
 
Galdget plus+ gallery image

You go and buy [Galdget plus+] plugin, and install it as described in the 5 minute setup. You may be happy with only steps 1 and 2 of 5 minute setup, since the rest is covered in more detail down this page.

Option 2: Free but cool, without frames but with lots of other features

Something like the above, but without frame.

Galdget plus+ gallery image
Galdget plus+ gallery image
Galdget plus+ gallery image

Install free [Galdget] plugin, it also has its 5 minute setup. You may be happy with only step 1 of 5 minute setup, since the rest is covered in more detail down this page.

The rest of the setup (for both fancy and free)

In the text above there are three Galdget plus+ and three Galdget galleries which, since this is a post, are all on the same post. In the widget area to the left of this text are three widgets which, again, are on the same post. Now let’s see how this is done. We will have to set up:

  1. Multiple groups in the URL list,
  2. Multiple shortcodes in the post/page,
  3. Multiple widgets,

1. Multiple groups in the URL list

Basic URL list setup is described in another how-to, here. The only addition here is that we have to use groups. If we want to display three different galleries, we should have three distinct group numbers. It can be 1,2,3 or 10,11,12 or any three numbers of your choice.

It is a good practice to put the images of one gallery in a separate folder, somewhere on your web site, and then refer to the gallery with the dir://folder/subfolder in a single line in the URL list setup, instead of listing each image separately.

You may assign one item in the URL list (dir or single image, or a web page) to more than one group, just put more group numbers separated with commas. If you want it to show up in all groups – just leave it to group 0.

Finally, you end up with the list somewhat like this one:

Galdget plus+ URL list setup

Don’t forget to save it before you go on to step 2 or 3.

2. Multiple shortcodes in the post/page

Shortcodes are described here (or here if you are free). It is simple, if you want more galleries on your post or page – you put more shortcodes. Of course, you want your galleries to display different content, so you use different group for each one.

Here is a simple sample (semple sumple…) shortcode, with the group identifier shown in red:

[galdget_pp width=350 height=350 group=2 animation=cw]

If you want to have more control of the layout of galleries, you may group them into various div tags or, maybe even better, into a table. The ones displayed above use the following code:

<table>
  <tr>
    <td style="vertical-align:middle">
      [galdget_pp
        width=180 height=267 align=center
        group=1 random=no buttons=nonstop
        images=fill animation=rnd
        frame=frames/frame-1210491_640_p.txt
      ]
    </td>
    <td style="vertical-align:middle">
      [galdget_pp
        width=267 height=180 align=center
        group=2 random=no buttons=nonstop
        images=fill animation=rnd
        frame=extraframes/album-1448918_640.txt
      ]
    </td>
  </tr>
  <tr>
    <td colspan=2>
      [galdget_pp
        width=600 height=350 align=center
        group=3 animation=ocw buttons=nonstop
        frame=frames/smartphone-157082_l.txt
      ]
    </td>
  </tr>
</table>

This, of course, works in the “Text” mode in post/page editor. Don’t be afraid to use it, it may be less ‘visual’ than “Visual” mode, but you have more control of your content here.

3. Multiple widgets

Basic [Galdget] or [Galdget plus+] widget setup is described in more detail here. When setting up more than one, you simply repeat the procedure more than once.

Galdget plus+ multiple widgets

You should set up a correct group that each of the widgets will display, and it would be nice to set different titles.

Leave a Reply

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