# How i can put a message?

**URL:** <https://forum.kirupa.com/t/how-i-can-put-a-message/221796>\
**Category:** Uncategorized\
**Created:** [April 7, 2007, 9:18pm UTC](https://forum.kirupa.com/t/how-i-can-put-a-message/221796 "2007-04-07T21:18:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lujerker](https://avatars.discourse-cdn.com/v4/letter/l/bc8723/32.png) [@Lujerker](https://forum.kirupa.com/u/Lujerker)\
**Post date:** [April 7, 2007, 9:18pm UTC](https://forum.kirupa.com/t/how-i-can-put-a-message/221796/1 "2007-04-07T21:18:37Z")

</div>

[SIZE=1]How i can put a message for each preview image ???

for example…

(dir of the images)  
galleryDir=“images”;

(Load the images)  
phpArray = new Array(“j1.JPG”,“j2.JPG”,“j3.JPG”,“j4.JPG”,“j5.JPG”,“j6.JPG”,“j7.JPG”,“j8.JPG”,“j9.JPG”,“j10.JPG”,“j11.JPG”,“j12.JPG”);

(load the txt)  
phpArraytxt=new Array(“hi1”,“hi2”,[/SIZE][SIZE=1]“hi3”,“hi4”,[/SIZE][SIZE=1]“hi5”,“hi6”,[/SIZE][SIZE=1]“hi7”,“hi8”,[/SIZE][SIZE=1]“hi9”,“hi10”,[/SIZE][SIZE=1]“hi11”,“hi12”[/SIZE][SIZE=1]);

for(i=0;i\<phpArray.length;i++)  
phpArrayTxt\*= ? ;

“i” is the var of the each image… but i dont know how put it text…

Some Help ???  
[/SIZE]
