How to add images instead of text in matrix