I think i am getting you but not clearly. Heres what happening is that the button i just created for test i.e. buttonall.gif is being replaced by name buttonall251.gif..... when viewed finally and thus is not displaying.
Check:
http://www.templatearena.com/xcart/customer
This is what i have done :
[img]{$ImagesDir}/buttonall{ $categories[cat_num].categoryid }.gif[/img]
Is it correct?? If not then please tell me how to move?
thanks