# List of external images into an array

**URL:** <https://forum.kirupa.com/t/list-of-external-images-into-an-array/189853>\
**Category:** Uncategorized\
**Created:** [June 6, 2006, 6:35pm UTC](https://forum.kirupa.com/t/list-of-external-images-into-an-array/189853 "2006-06-06T18:35:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bobcooper](https://avatars.discourse-cdn.com/v4/letter/b/b19c9b/32.png) [@bobcooper](https://forum.kirupa.com/u/bobcooper)\
**Post date:** [June 6, 2006, 6:35pm UTC](https://forum.kirupa.com/t/list-of-external-images-into-an-array/189853/1 "2006-06-06T18:35:06Z")

</div>

hi there,

I am trying to get a list of image files into an array and am having problems, here is the contents of the text file:

&images=“image1.jpg”, “image2.jpg”, “image3.jpg”, “image4.jpg”, “image5.jpg”

I want to get them to display in an array like this:

this.pArray = [“image1.jpg”, “image2.jpg”, “image3.jpg”, “image4.jpg”, “image5.jpg”];

i am assuming i will have to use load variables but i don’t know how.

Cheers,

Bob  
[www.bobcooper.org.uk](http://www.bobcooper.org.uk)  
[info@bobcooper.org.uk](mailto:info@bobcooper.org.uk)  
07840 978569
