Support » Plugin: NextGEN Gallery - WordPress Gallery Plugin » hi how can i add nextgen-gallery into the header

Viewing 1 replies (of 1 total)
  • @rebel_

    Some of this might depend on your theme.

    Open up header.php and look for the following :

    <div class=”Header”>
    <div class=”Header-jpeg”></div>

    I changed to :
    <div class=””></div>

    Then I inserted the following code :

    <div class="post">
    <div class="swfobject" id="so5_1" style="width:998px; height:300px;">
    <p>The <a href="">Flash Player</a> and <a href="">a browser with Javascript support</a> are needed..</p>
    <script type="text/javascript" defer="defer">
    var so5_1 = {
    params : {
    wmode : "opaque",
    allowfullscreen : "true"},
    flashvars : {
    file : "",
    linkfromdisplay : "false",
    shownavigation : "false",
    showicons : "false",
    rotatetime : "6",
    transition : "random",
    backcolor : "0x000000",
    frontcolor : "0xFFFFFF",
    lightcolor : "0xCC0000",
    autostart : "false",
    width : "998",
    height : "300"},
    attr : {
    styleclass : "slideshow",
    name : "so5"},
    start : function() {
    swfobject.embedSWF("", "so5_1", "998", "300", "7.0.0", false, this.flashvars, this.params , this.attr );

    The following is important. the ?gid= the gallery id number you want in the header”

    Make sure you know the path to your imagerotator.php and imagerotator.swf files.

    Your paths may vary, you have to know paths and the gallery id or you won’t get the header slideshow working

    file : “”

    You can set autostart : “false”, to :
    autostart : “true”,

    And you header will run the slideshow automatically, otherwise you get a different image on each page. You can also click the image on any page and get the slideshow to start when :

    autostart : “false”,

    You can see this working on my site :

    Good luck.

Viewing 1 replies (of 1 total)
  • The topic ‘hi how can i add nextgen-gallery into the header’ is closed to new replies.