Support » Plugins and Hacks » [Plugin: NextGEN Gallery] Nextgen Gallery shadowbox.js setup

  • Resolved -FrA-

    (@-fra-)


    Hi! I have a little problem:
    I’m using NGGallery with a custom effect (shadowbox).
    It works quite well, but the js has an option that I’m trying to use with NGG: The Image title in the upper side of the image window.
    I started trying to modify the code in the option page
    rel="shadowbox[%GALLERY_NAME%]" title="%IMAGE_NAME%"
    But the tag %IMAGE_NAME% is not supported.
    However, I saw that this code duplicates the link title=””, and it’s not good.
    So I need to modify the plugin code to show the image title in the link title.
    I mean:

    <div class="ngg-gallery-thumbnail"  >
    	<a href="http://www.something.com/wp-content/gallery/galleryname/image.jpg" title="I NEED TO PUT THE IMAGE TITLE / ALT HERE" rel="shadowbox[galleryname]" ><img title="THE SAME THAT IS HERE" alt="OR HERE" src="http://www.something.com/wp-content/gallery/galleryname/thumbs/thumbs_image.jpg" style="width:100px; height:75px;" /></a>
    </div>

    But I can’t find where this code is!
    Can Someone help me?
    What nggfile.php i need to look for?

    Thank you very much.

    Francesco

Viewing 6 replies - 1 through 6 (of 6 total)
  • Alex Rabe

    (@alexrabe)

    As you said the tag %IMAGE_NAME% is not supported., title is controled by the database filed alt/title text. So you should change it in the gallery and not via the effect code.

    Otherwise you can find it in nggfunctions.php

    -FrA-

    (@-fra-)

    Thank you!
    I changed
    ($picture->description)
    with
    ($picture->alttext)
    and it works perfectly!
    Thank you so much, and thanks for this amazing plugin!

    tejanosCATFISH

    (@tejanoscatfish)

    Hi!

    I to am wanting to use “shadowbox” … and no little of code … could you possibly provide me with “a, b, c” details on how to implement “shadowobox” in NextGEN …

    Email me a mark@tejanoscatfish.com

    Regards,

    Mark Jones

    http://www.tejanoscatfish.com/blog

    -FrA-

    (@-fra-)

    Hi tejanosCATFISH, I just replied to your email.
    Please let me now if you are still having problems.

    I also don’t know how to implement any of the “effects” that come with NextGen. I’d like to use the “HighSlide” effect for my thumbnails, but I don’t know how to go about using it. Can someone tell me how to set it up?

    I’m locking fore the same thing as you did tejanos. An a,b,c-guide how to use shadowbox in NGGallery.

    I’m new on this wordpress-buissness. =)

    Post here or email me at markus@markusholmstrom.se

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: NextGEN Gallery] Nextgen Gallery shadowbox.js setup’ is closed to new replies.