WordPress.org

Support

Support » Plugins and Hacks » How to use thumbnails rather than main images

How to use thumbnails rather than main images

Viewing 2 replies - 1 through 2 (of 2 total)
  • I tried changing line 169 of includes > jj_ngg_jquery_cycle.php from:

    $output .= "<img src=\"" . $image->imageURL . "\" " . $image_description . $width_d . $height_d . " border=\"0\" />";

    to

    $output .= "<img src=\"" . $image->thumbnailURL . "\" " . $image_description . $width_d . $height_d . " border=\"0\" />";

    but this just lost the src altogether. That’s about as far as my PHP goes I’m afraid. Anyone got any ideas?

    Found the solution seen here: JJ NextGen JQuery Carousel – Thumbnails

    replacing line 169 of includes > jj_ngg_jquery_cycle.php to:

    $newurl = get_bloginfo("wpurl") . "/" . $image->path . "/thumbs/thumbs_" . $image->filename;
    $output .= "<img src=\"" . $newurl . "\" " . $image_description . $width_d . $height_d . " border=\"0\"  />";

    Would be great if this was added as a checkbox option in future versions of the plugin.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to use thumbnails rather than main images’ is closed to new replies.