optimize thumbnail size in editor