dynamic adding of images