WordPress.org

Ready to get started?Download WordPress

Forums

NextGEN Gallery
What about this code adjusts my columns/rows? (2 posts)

  1. colormecolorado
    Member
    Posted 2 years ago #

    I recently added the NextGen Gallery Custom Fields to my HTML code, in order to make my thumbnails link to a custom URL (viewgallery.php). It works perfectly, except for one issue: something within this code makes my thumbnails line up in one long column, instead of nice rows of 4 that they used to be in. Does anyone know what to change within this code that will format my thumbnails into rows again?

    <div id="ngg-image-<?php echo $image->pid ?>" class="ngg-gallery-thumbnail-box" <?php echo $image->style ?> >

    <div class="ngg-gallery-thumbnail" >
    ngg_custom_fields["Custom Link"]; ?>"
    title="<?php echo $image->description ?>"
    <?php echo $image->thumbcode ?> >
    <img title="<?php echo $image->alttext ?>"
    alt="<?php echo $image->alttext ?>" src="<?php echo $image->
    thumbnailURL ?>"
    <?php echo $image->size ?> />

    ngg_custom_fields["Custom Link"]; ?>">
    <?php echo $image->alttext ?>
    </div>

    Thanks for any help you can give!

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

  2. colormecolorado
    Member
    Posted 2 years ago #

    Anyone?? :( :(

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic