Title: NextGEN Gallery: Get thumbnail width
Last modified: August 20, 2016

---

# NextGEN Gallery: Get thumbnail width

 *  [nchellzz](https://wordpress.org/support/users/nchellzz/)
 * (@nchellzz)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/get-thumbnail-width/)
 * 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?

The topic ‘NextGEN Gallery: Get thumbnail width’ is closed to new replies.

 * 0 replies
 * 1 participant
 * Last reply from: [nchellzz](https://wordpress.org/support/users/nchellzz/)
 * Last activity: [13 years, 11 months ago](https://wordpress.org/support/topic/get-thumbnail-width/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
