initial version of imagepanel