WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [Plugin: NextGEN Gallery] Nextgen Gallery + shadowbox.js setup (7 posts)

  1. -FrA-
    Member
    Posted 6 years ago #

    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

  2. Alex Rabe
    Member
    Posted 6 years ago #

    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

  3. -FrA-
    Member
    Posted 6 years ago #

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

  4. tejanosCATFISH
    Member
    Posted 6 years ago #

    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

  5. -FrA-
    Member
    Posted 6 years ago #

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

  6. xune
    Member
    Posted 5 years ago #

    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?

  7. q88
    Member
    Posted 5 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags