• Resolved jumborex

    (@jumborex)


    Hi,
    it looks like I cannot obtain what I’m looking for with this option: I understood, that (having a number of images in a gallery) I can decide how many images put in every page (Images per page) and then in how many columns I whant them displayed (Number of columns to display). For example, I have 6 images in the gallery, and I want to display them in a neat range of three columns per two rows, so I put:
    Images per page: 6
    Number of columns to display: 3

    This gives a strange pattern to me: the 6 images in two columns, four of them (number 1, 3, 4, 6) in the left hand, a couple (number 2, 5) in the center page, but not one over the other: number 2 is in the first row, number 5 at the third row…
    Can someone explain this to me?
    Thank you.

    https://www.ads-software.com/plugins/nextgen-gallery/

Viewing 13 replies - 1 through 13 (of 13 total)
  • Set 0 and the number columns will fit the theme layout

    Thread Starter jumborex

    (@jumborex)

    Set 0 and the number columns will fit the theme layout

    Yes, you are right: so I did.
    The question is more generic: what’s the meaning of Number of columns to display?
    It’s not what I thought, so… what is it?
    Thank you.

    Number of columns to display is to set how many columns you want, but the chosen number of columns doesn’t always display in the same row because your page may not be large enough. Even though it sometimes look like there’s enough space, it might not be the case, depending on the page code.
    E.g., if you choose three in a template where there’s only room for two, the result will obviously be:
    x x
    x
    and so on
    x x
    x
    x x
    x
    Also, if some thumbs are bigger because they are scaled, the result may still change.
    So, if in this case (3 but only space for 2) you set 0, you let the plugin adjust the disposition on the page, you don’t force 3 columns to display, and you’ll see that thumbs displays in 2 columns and they are aligned, because in this case it’s the right way to display thumbs in a relative way.
    I hope you understand, I did my best but English is not my language

    Thread Starter jumborex

    (@jumborex)

    I hope you understand, I did my best but English is not my language

    it’s not mine, as well!
    What you are saying is logical, but I fear it’s not the case: when I set 0 in the number of columns, the images show in a row (horizontally). When there is no space it uses the second line, but it displays 4 images in the space left by the theme!
    More, if I set number of columns 1, or 2 it shows the images ‘always’ in a single column (vertically).
    It’s true, this is not the PRO version, but I think there is something strange in it…

    As said, it depends on template, so post an URL and what you would like to achieve.

    Thread Starter jumborex

    (@jumborex)

    I was thinking 6 images in two rows, containing 3 Tiles per row.
    As I said it doesn’t work in the way I thought, so I tryed with 2 columns, that (in my imagination) should give way at three rows, with 2 Tiles per row.

    This is the page set with Number of columns = 0: https://lnx.cantodellasfinge.net/wordpress/play-off-2014-i-temi/

    This (as is reported in the text of the post), is the link set with Number of columns = 2: https://lnx.cantodellasfinge.net/wordpress/articolo-di-prova/

    The first (0) works as expected, for the second (2) you have to put in the plugin custom CSS:

    .ngg-gallery-thumbnail-box {
        float: none;
    }

    If this doesn’t work, add !important, in this way:

    .ngg-gallery-thumbnail-box {
        float:none !important;
    }

    Edit: You can not even set “images per page” if you want display them all.

    Thread Starter jumborex

    (@jumborex)

    Thank you: this is working well with Number of columns = 2, as you can see in https://lnx.cantodellasfinge.net/wordpress/articolo-di-prova/ but (this seems strange to me!) while I see space for at least two other columns, it doesn’ work for Number of columns = 3.
    But, anyway, the plugin is interesting as well!
    Thanks again.

    You have setted 2 now, let me see live with 3.

    Thread Starter jumborex

    (@jumborex)

    Try

    .ngg-gallery-thumbnail-box {
        float:none !important;
        display:inline;
    }

    Add !important if necessary, and check that you haven’t selected any template for galleries

    Thread Starter jumborex

    (@jumborex)

    Wanderful!
    Thanks a lot.

    Plugin Contributor photocrati

    (@photocrati)

    Thanks, Tizz!

    – Cais.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘?Number of columns to display’ is closed to new replies.