got the example working with pictures