WordPress.org

Ready to get started?Download WordPress

Forums

NextGEN Gallery Slideshow for header (8 posts)

  1. Da_Moma
    Member
    Posted 5 years ago #

    HI,

    Friend is using the LivingOS DELTA theme...
    What I would call the header image is actually in the style.css ( I think ) called Main.

    He wishes to have where the cross image is ( Which he will replace with other images ) rotate through images like a slide show.

    So after researching I found the NextGen Gallery Plugin and installed it.
    Now it is very confusing to me the documentation for it is not that great.

    So what I am actually trying to do is to replace the stationary image with a slide show by using the plugin mentioned above.

    Can someone please help me figure this out?
    Since the image is in the style.css I assume I would edit it? But what exactly would I place there to get it to show?

    Thank You for any help I have been at this all day and my brain is now officially on Information overload.

    Site is
    clearforkchurch DOTCOM

  2. Da_Moma
    Member
    Posted 5 years ago #

    Anyone Please?

  3. Da_Moma
    Member
    Posted 5 years ago #

    I figured it out myself after 2 days of trial and error.
    For anyone else who uses this template you just do this:

    1) Open up page.php

    FIND
    <div id="main"></div>

    REPLACE WITH

    <div><?php
    if (function_exists("nggSlideshowWidget"))
    { nggSlideshowWidget($galleryID,$Width=710,$Height=170); }
    ?>
    </div>

    2) Open up the index.php

    FIND
    <div id="main"></div>

    REPLACE WITH

    <div><?php
    if (function_exists("nggSlideshowWidget"))
    { nggSlideshowWidget($galleryID,$Width=710,$Height=170); }
    ?>
    </div>

    It worked for me, I have no idea if this was the right way or not but it works! :)

    Now I need to find out how to shoot the slideshow to the right a tad...

  4. chanzilla
    Member
    Posted 5 years ago #

    Thank you! I was just about to ask the same question for a slightly different purpose. I wanted to create a slideshow on my homepage, below the header, but before the loop of posts. I'll give this a try!

  5. chanzilla
    Member
    Posted 5 years ago #

    Yep, sure does work! Thanks!
    You can see how it works here on my website's homepage.
    I checked the function and it seems the only parameters to pass are galleryid, width & height. Because my portfolio has images of various dimensions, I at least want to enable things like the Ken Burns effect.

    How can I pass other options through? Or, if I need to manually code the html, where is the xml file or rss feed format for NGG?

    You've also inspired me to consider a rotating ad banner display in the header of my page. But I'd have to change the click function to "go to url" rather than "go to next image." which goes right back to the issue of passing values without shortcode.

    Any ideas or suggestions?

  6. Alex Rabe
    Member
    Posted 5 years ago #

    nggSlideshowWidget() generates a js script code, copy this code from the html source and place it into your header. Then you can change the settings via the script code...

  7. chanzilla
    Member
    Posted 5 years ago #

    Let me make sure I understand. I should activate the widget in the sidebar with the right settings, then copy the resulting HTML from a published page, then paste it into my header html? Cool, I'll give it a try.

    Right now, I just have the original approach working out ok. But looking forward to the customization.

    NextGen is definitely making it easy to manage a growing library of photos, and i'm able to seperate them from personal scrapbook to professional portfolio collections. While I'm wrestling with design issues, NextGen Gallery is making the asset management tasks very easy.

  8. chanzilla
    Member
    Posted 5 years ago #

    So lovin the gallery now. I've coded up a splash slide show on my homepage while using the default settings for slideshows in my pages and posts. BTW, NGG integrates pretty well, it's a walk in the park to include slideshows from the rte icon.

    I've got some css tweaks i gotta iron out, but I'm totally satisfied by the functionality NextGen Gallery gives my blog.

    The PicLens and CoolIris is just the coolest icing on the cake.

    The only thing I've noticed is that on the respective pages from an album view, there aren't any navigation options. Visitors have to know to hit the back button to go from an embedded gallery back to the album. Is there any shortcode for including title or navigation links?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.