• Hi,

    I have a problem with NextGEN Gallery version 1.73/WP 3.04

    I just changed the thumbnail size from 100×75 to 100×100 and since then, they are sometimes not arranged correctly. I am usin Kin theme.

    Have a look:
    https://wp.ellendt.de/retro/

    Depending on the width of the browser window (I tried Firefox & Safari on Mac) there are gaps between some of the thumbnail. Can be in the second row or later, to me there is no rule when it happens.

    Any ideas?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter nilshb

    (@nilshb)

    It seems I found something. I generated the thumbnails manually, when I dot it manually, they are not always 100×100 like they should be, but most of the time 99×100 or 100×99 which seems to mess up the arrangement. If I generate the thumbnails automatically, they are all 100×100 and the layout is fine.

    Any fix for this?

    Thread Starter nilshb

    (@nilshb)

    I found a quick-and-dirty workaround:

    in the file nggfunctions.php, I found the lines:

    // generate the thumbnail size if the meta data available
    if (is_array ($size = $picturelist[$key]->meta_data[‘thumbnail’]) )
    $thumbsize = ‘width=”‘ . $size[‘width’] . ‘” height=”‘ . $size[‘height’] . ‘”‘;

    I commented out the last two, so that the thumbnail size is not taken from the meta date but from the preset thumbnail size. Not elegant, but it works. Anyway, a fix for proper thumbnail size would be better ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: NextGEN Gallery] thumbnails arranged wrong’ is closed to new replies.