# Is it possible to know the file name of images loaded?

**URL:** <https://forum.kirupa.com/t/is-it-possible-to-know-the-file-name-of-images-loaded/289718>\
**Category:** flash\
**Created:** [June 3, 2009, 9:32pm UTC](https://forum.kirupa.com/t/is-it-possible-to-know-the-file-name-of-images-loaded/289718 "2009-06-03T21:32:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jdoe](https://avatars.discourse-cdn.com/v4/letter/j/eb8c5e/32.png) [@jdoe](https://forum.kirupa.com/u/jdoe)\
**Post date:** [June 3, 2009, 9:32pm UTC](https://forum.kirupa.com/t/is-it-possible-to-know-the-file-name-of-images-loaded/289718/1 "2009-06-03T21:32:53Z")

</div>

Hi:

I have a folder containing some images named 01\_image\_name.jpg, 02\_image\_name.jpg, 03\_image\_name.jpg, … wich I read with a PHP script.  
Then I loop loading each image and waiting until all are loaded to display them

The problem is I need to show them sorted by file name

Thanks in advance
