WordPress.org

Ready to get started?Download WordPress

Forums

NextGEN Gallery: Get thumbnail width (1 post)

  1. nchellzz
    Member
    Posted 2 years ago #

    hello I'm trying to display the thumbnail width on a custom nextgen gallery template. The code as follows:

    <div class="content" id="pic<?php echo $image->pid ?>" ord="<?php echo $image->pid ?>" contentwidth="<?php echo $image->meta_data['width'] ?>px">

    I need to replace the contentwidth with the thumbnail width value, with the code above I get the original width.

    Can someone help?

Topic Closed

This topic has been closed to new replies.

About this Topic