# How to load images from file path rather than URL

**URL:** <https://forum.kirupa.com/t/how-to-load-images-from-file-path-rather-than-url/314081>\
**Category:** Uncategorized\
**Created:** [September 17, 2010, 3:55pm UTC](https://forum.kirupa.com/t/how-to-load-images-from-file-path-rather-than-url/314081 "2010-09-17T15:55:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![daymes](https://avatars.discourse-cdn.com/v4/letter/d/8baadc/32.png) [@daymes](https://forum.kirupa.com/u/daymes)\
**Post date:** [September 17, 2010, 3:55pm UTC](https://forum.kirupa.com/t/how-to-load-images-from-file-path-rather-than-url/314081/1 "2010-09-17T15:55:07Z")

</div>

how to load images from file path rather than URL  
Hi there folks,

could really do with a quick bit of help, I’m sure its really simple but has got me flumuxed, basically I have been following this tutorial

[http://www.kirupa.com/developer/mx2004/thumbnails3.htm](http://www.kirupa.com/developer/mx2004/thumbnails3.htm)

which after a lot of looking ticked all my boxes for a gallery tutorial, the only problem is that is not finding my images when I change the url location in the tut xml to the root location of my images.

eg " \<pic\>  
\<image\>[http://www.kirupa.com/developer/mx2004/pg/stata.jpg](http://www.kirupa.com/developer/mx2004/pg/stata.jpg)\</image\>" works fine,

" \<image\>file://cropped files/made/bronze-dress.jpg\</image\>" doesn’t : (

Any idea as to what I might be doing wrong? do I need to adjust the action script to load a from a root folder? (if so any idea as to how would of course be massively appreciated).

fingers crossed D
