opening thumbnail automatically