worked with generating a table with images