using thumbnail template instead of one-off html