create index.html file a directory contains images