adding an index file along with my image