• Resolved elrohir_the_king

    (@elrohir_the_king)


    Hello, i’m using nextgengalley; i want to add manually widgets to my custom home page, i can add the slideshow widget but can’t add the regular picture list widget.

    <?php
    if (function_exists("nggSlideshowWidget"))
    { nggSlideshowWidget($galleryID,$Width,$Height); }
    ?>

    this is working code

    <?php
    if (function_exists("nggDisplayRandomImages"))
    { nggDisplayRandomImages($number_of_pic,$Width,$Height); }
    ?>

    this is not working

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

    (@elrohir_the_king)

    so i’m done.

    i figured out the right code for random image list, it should be like:

    <?php nggDisplayRandomImages(X,Y,Z);?>

    X: number of pic
    Y: width
    Z: height

    this code works on custom pages wich hasn’t got sidebar.

    When I create a sidebar random gallery using your code, it works, but the thumbnails are not styled like they would be if the widget had created the thumbnails. Any idea how to have it styled?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘NextGEN Gallery widget problem’ is closed to new replies.