WordPress.org

Ready to get started?Download WordPress

Forums

nextgen-gallery support for video besides shadowbox (4 posts)

  1. illebas
    Member
    Posted 4 years ago #

    I recently found a great tutorial on how to integrate video with the nextgen-gallery plug-in with the shadowbox thumbnail effect.
    http://blog.creonfx.com/javascript/wordpress-video-galleries-with-nextgen-and-jquery
    My issue is that the nextgen-gallery widget doesn't show the shadowbox effect.(It opens the image on a new page).

    Does anyone know of another effect that will support video using the nextgen-gallery plug-in? OR a way to fix the shadowbox nextgen widget issue?

    Thanks in advance!

    http://wordpress.org/extend/plugins/nextgen-gallery/

  2. illebas
    Member
    Posted 4 years ago #

    Well I figured it out.. I am far from a developer so it's probably not the correct approach but at least it's working. I opened up widgets.php in the widgets folder which is located in the nextgen folder. I found this line right around 415 - 417:

    $out = '<a href="' . $image->imageURL . '" title="' . $description . '" ' . $thumbcode .'>';

    and added the rel to look like this:

    $out = '<a href="' . $image->imageURL . '" rel="shadowbox[];player=img;" title="' . $description . '" ' . $thumbcode .'>';
  3. tarzadon
    Member
    Posted 4 years ago #

    In NextGen Options, go to Effects.
    Next to JavaScript Thumbnail effect, select Custom
    Next to Link Code line, type rel="shadowbox[%GALLERY_NAME%]"
    Click on Save Changes

  4. larssonk22
    Member
    Posted 3 years ago #

    Are you still using nextgen gallery, I would like to be able to add videos to my galleries but I didn't want to put the time in unless I knew it would do what I wanted. Any chance we could see how you are using it on your website??

    Thanks

Topic Closed

This topic has been closed to new replies.

About this Topic