putting images into directory structure