fixed bug with json encoding
added image overview