accept flatten in thumbnail tag