... but i have the images into a directory How I can make to make buttons in automatic ? I'm not sure I understand your question. If you are asking how to define the buttons when you don't know how many there are, and the number might be changing? Or, is the number of buttons going to remain ...