WordPress.org

Ready to get started?Download WordPress

Forums

NextGEN Gallery
Display Alt & Title text / Description (7 posts)

  1. datavyam
    Member
    Posted 1 year ago #

    Hi,
    My site is at http://www.badgeorders.co.nz
    When I hover over one of the images, I see that the al & Title text is displayed.
    Is it possible to display the description also along with the alt & Title text?
    Thanks for your help.
    Mohan

    http://wordpress.org/extend/plugins/nextgen-gallery/

  2. datavyam
    Member
    Posted 1 year ago #

  3. gabriana
    Member
    Posted 1 year ago #

    Hi. Did anyone find an answer for this? I took a lot of time writing all of those titles for each photo, but they aren't displaying. Please help me!
    Thanks, Gabriana

  4. nickandrea19
    Member
    Posted 1 year ago #

    Hi there. I am wanting, I think, a similar thing. I want the title to appear with the thumbnail, as in the case of a gallery with teacher names. Is there a way to accomplish this?

  5. tillieb20
    Member
    Posted 1 year ago #

    Hi, Maybe this will help someone. I found out how to put a title under the thumbnails with this post.

    http://wordpress.org/support/topic/plugin-nextgen-gallery-title-under-thumbs?replies=12

    Good luck everyone :)

  6. bopgun
    Member
    Posted 10 months ago #

    If you go to the plugin folder nextgen-gallery/view/gallery.php

    Step 1: Find the code:
    _________________________________________________________

    <!-- Thumbnails -->
    	<?php foreach ( $images as $image ) : ?>
    
    	<div id="ngg-image-<?php echo $image->pid ?>" class="ngg-gallery-thumbnail-box" <?php echo $image->style ?> >
    		<div class="ngg-gallery-thumbnail" >
    			<a>imageURL ?>" title="<?php echo $image->description ?>" <?php echo $image->thumbcode ?> >
    				<?php if ( !$image->hidden ) { ?>
    				<img title="<?php echo $image->alttext ?>" alt="<?php echo $image->alttext ?>" src="<?php echo $image->thumbnailURL ?>" <?php echo $image->size ?> />
    				<?php } ?>
    			</a>
    		</div>
    	</div>

    ___________________________________________________________
    Step 2: Replace above code this the following code

    <!-- Thumbnails -->
    	<?php foreach ( $images as $image ) : ?>
    
    	<div id="ngg-image-<?php echo $image->pid ?>" class="ngg-gallery-thumbnail-box" <?php echo $image->style ?> >
    		<div class="ngg-gallery-thumbnail" >
    			<a>imageURL ?>" title="<?php echo $image->description ?>" <?php echo $image->thumbcode ?> >
    				<?php if ( !$image->hidden ) { ?>
    				<img title="<?php echo $image->description ?>" alt="<?php echo $image->alttext ?>" src="<?php echo $image->thumbnailURL ?>" <?php echo $image->size ?> />
    				<?php } ?>
    			</a>
    			<span><?php echo $image->alttext ?></span>
                <span><?php echo $image->description ?></span>
    		</div>
    	</div>

    ______________________________________________________________

    Note:
    This is the code to add the description
    <?php echo $image->description ?>

    This is the code to add the title
    <?php echo $image->alttext ?>

  7. katzka
    Member
    Posted 9 months ago #

    Hi
    I used this post also to display title and description under the thumbnail og nextGen gallery, now i need to make one of them a link
    can anybody help me out of this? please?
    Thanks a lot

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic