Change to on the fly thumbnail creation