ensure the img will not too large
half the duration