My Album!

My Album! Second album Microscope SlideshowThumbs
Amazing Scanning Electron Microscope Pictures.
All these pictures are from the book 'Microcosmos', created by Brandon Brill from London.
Average rating  1 2 3 4 5  You must login to vote
«   »

Note on multi column

As you can see, the initial display on this page is album covers in two columns. Here is explained how it works:

The setting in Table I-D1 ( max cover width ) is set to 600.
This means that when the column of the page is wider than 600 pixels, there will be two columns of album covers, IF they will not become wider than 600 px. If they would be wider than 600 ( the max ) there will be 3 or even more colums, so that the covers are no wider than 600 px. Thlis looks complicated, but works very nice. On the home page there is one column ( the column is only 450 pixels wide, i.e. less than 600 ), while on this page there are 2.

To get this display, it must be generated by ONE shortcode or script sequence. A shortcode that produces only one album cover will always fill the total column width as specified in Table I-A1. So if you enter a list of shortcodes or script sequences to display single covers, they will all display in one column.

To get the covers displayed by one shortcode, and when it is not the ‘generic’ album display like on this page ( the shortcode used is simply: [wppa type="generic"][/wppa] ) you will have to place them in a parent album. Create a parent album ( say its name is Demo album and its id is 13 ). Set the Parent of the albums you want to display to Demo album on the Edit Album Information admin screen, and use shortcode: [wppa type="album" album="13"][/wppa]

There is one problem at the moment ( as per version 4.9.18 ).
This multi column system only works when the size of the overall column is a fixed value.
Either Table I-A1 is NOT set to auto, or the shortcode used here includes a fixed width, like:
[wppa type="album" album="13" size="640"][/wppa]. This means special caution for responsive themes: find a suitable size value. Someday it will be fixed…