# Load jpgs - photo gallery tutorial

**URL:** <https://forum.kirupa.com/t/load-jpgs-photo-gallery-tutorial/56065>\
**Category:** Uncategorized\
**Created:** [June 30, 2004, 7:50am UTC](https://forum.kirupa.com/t/load-jpgs-photo-gallery-tutorial/56065 "2004-06-30T07:50:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![barmty](https://avatars.discourse-cdn.com/v4/letter/b/c4cdca/32.png) [@barmty](https://forum.kirupa.com/u/barmty)\
**Post date:** [June 30, 2004, 7:50am UTC](https://forum.kirupa.com/t/load-jpgs-photo-gallery-tutorial/56065/1 "2004-06-30T07:50:11Z")

</div>

Hello,

I recently did the photo gallery tutorial by sbeener for externally loading jpgs…for some reason, this relatively simple tutorial never works for me. I got the images to load once, but they were the wrong dimensions. i made sure that they were the same dimensions as what they were loading into, but somehow…no luck.

Now I’m getting the “NaN” error and I have no clue what that means. If anyone has time please take a look at the file I have uploaded. I followed the directions exactly. Thanks for your time.

Barmty
