thumbnail gen and view