show image from dir by js