optimize thumbnail feature