Adding image parsing and thumbnail generation