Title: Portfolio Gallery error (pic included)
Last modified: September 1, 2016

---

# Portfolio Gallery error (pic included)

 *  [arashzare](https://wordpress.org/support/users/arashzare/)
 * (@arashzare)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/portfolio-gallery-error/)
 * Hi
    I encountered an error(below) when i wanted to add photos to my slider in
   the portfolio page.
 * “<# _.each( attachments, function( attachment ) { #> <# if ( attachment.sizes.
   hasOwnProperty( ‘thumbnail’ ) ) { #>”
 * [http://5.9.123.24:2082/cpsess8967076766/viewer/home%2fstpcompa%2fpublic_html%2fHelp/error.jpg](http://5.9.123.24:2082/cpsess8967076766/viewer/home%2fstpcompa%2fpublic_html%2fHelp/error.jpg)
 * the portfolio page has a slider with thumbnail navigation underneath. the photos
   which are correct in ratio are from theme demo, and those incorrect are the ones
   i tried to add.
 * [http://5.9.123.24:2082/cpsess8967076766/viewer/home%2fstpcompa%2fpublic_html%2fHelp/Error2.jpg](http://5.9.123.24:2082/cpsess8967076766/viewer/home%2fstpcompa%2fpublic_html%2fHelp/Error2.jpg)
 * i’m desperately in need of help to fix this problem.

The topic ‘Portfolio Gallery error (pic included)’ is closed to new replies.

## Tags

 * [attachment](https://wordpress.org/support/topic-tag/attachment/)
 * [function](https://wordpress.org/support/topic-tag/function/)
 * [thumbnail](https://wordpress.org/support/topic-tag/thumbnail/)

 * 0 replies
 * 1 participant
 * Last reply from: [arashzare](https://wordpress.org/support/users/arashzare/)
 * Last activity: [9 years, 7 months ago](https://wordpress.org/support/topic/portfolio-gallery-error/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
