WordPress.org

Support

Support » Plugins and Hacks » [Plugin: NextGEN Gallery] How to swap title with caption

[Plugin: NextGEN Gallery] How to swap title with caption

  • I have been using NextGEN with great satisfaction for quite sometime now and have integrated it with HighSlide. One issue that stumps me is that HS displays the title, NextGEN has a more generous caption field. I wonder if it is possible to programmatically swap these variables on the fly so that HS gets the title variable which has been passed content from caption?

    Take a look at the post below where the entire text under each photo comes from the title field; very difficult to edit and see in the NG control panel.
    http://www.keptlight.com/blog/?p=437

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Does the lack of a reply indicate that the question does not relate to NG Gallery or lack of time? I was hoping for a JS snippet that could be embedded in the post to swap the contents of the variables.

    Ideally, a selector in the NG Gallery console will be the best; a check box, a radio button, a drop-down selector, anything that will allow the user to choose to display one or the other.

    I have found the answer, it was a matter of adding the following two lines to the embedded JS code in the WS-Highslide plugin:

    hs.captionEval = “this.a.title”;
    hs.show_title=”y”;

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: NextGEN Gallery] How to swap title with caption’ is closed to new replies.