# Photo Gallery NaN Error

**URL:** <https://forum.kirupa.com/t/photo-gallery-nan-error/14073>\
**Category:** flash\
**Created:** [February 21, 2003, 5:18pm UTC](https://forum.kirupa.com/t/photo-gallery-nan-error/14073 "2003-02-21T17:18:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ndorfnz](https://avatars.discourse-cdn.com/v4/letter/n/439d5e/32.png) [@ndorfnz](https://forum.kirupa.com/u/ndorfnz)\
**Post date:** [February 21, 2003, 5:18pm UTC](https://forum.kirupa.com/t/photo-gallery-nan-error/14073/1 "2003-02-21T17:18:47Z")

</div>

Hello all,

I used the Photo Gallery Tutorial and it worked great on my local drive when referencing a “folder” with the images.

However, once I reference a URL where the images are located I get the first image loaded, then a NaN error.

Likewise I’ve already been down the path of ensuring the images are non-progressive jpgs.

Check out below, I’ve already made the check for spaces…there are none.

Has anyone else experienced this?

======================================

# this.pathToPics = “[http://www.teamnebraska.com/photoalbum/](http://www.teamnebraska.com/photoalbum/)”; // fill this array with your pics this.pArray = [“mo\_full.jpg”, “christy\_full.jpg”];

When referencing “animation/” folder on my hard drive works fine.
