Insert two or more images into a table

Hi guys, I’m just wondering how could I insert two or more image in a table.

For instance, if I have

local rome1 = display.newImage("immagini/sfondoROMA/bassa1.png") rome1.x = \_W/2+500 rome1.y = \_H/2-158 rome1.alpha = 0 local rome2 = display.newImage("immagini/sfondoROMA/bassa2.png") rome2.x = rome1.x+1183 rome2.y = \_H/2 -158 rome2.alpha = 0 local rome3 = display.newImage("immagini/sfondoROMA/bassa3.png") rome3.x = rome2.x+1183 rome3.y = \_H/2 -158 rome3.alpha = 0

how can I insert all of them in a table? And then, for each image, how can I access to its parameters such as the X and Y position?

Thank you in advantage.

rome = {}

rome[1] = display.newImage(“immagini/sfondoROMA/bassa1.png”)

rome[1].x

rome[1].y

rome[2] = … bassa2.png

T.

Great thanks a lot! 

rome = {}

rome[1] = display.newImage(“immagini/sfondoROMA/bassa1.png”)

rome[1].x

rome[1].y

rome[2] = … bassa2.png

T.

Great thanks a lot!