Fix tweet length validation for images