WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: NextGEN Gallery] (1 post)

  1. ryanoz
    Member
    Posted 6 years ago #

    I'm trying to display 1 random image from a gallery at a particular size. The only problem I'm having is it looks like it is just resizing a thumbnail of the image and not the actual image, so the quality looks bad.
    This is the code I am using:

    <?php
    $number_of_pic = '1';
    $Width = '230';
    $Height = '170';
    if (function_exists("nggDisplayRandomImages"))
    { nggDisplayRandomImages($number_of_pic,$Width,$Height); }
    ?>

    For an example:
    http://vsartsalabama.org/artpartners

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.