The LHC search for the charged Higgs boson in the intermediate-mass range ($M_{H^\pm} \sim m_t$) is actively being performed after the next-to-leading order calculation of the total production cross section of $p p \to H^\pm W^\mp b \bar{b}$. In the decay part, only the $\tau\nu$ mode is mainly concerned because of the experimental difficulty in the $t b$ mode. In the framework of a two-Higgs-doublet model, we suggest that the $W \gamma$ channel can be helpful in probing this charged Higgs boson, if introducing vectorlike fermions. In type-I-II model where the SM fermions are assigned in type-I while the vectorlike fermions are in type-II, the branching ratio is greatly enhanced up to $\sim \mathcal{O}(0.01)$ in a large portion of the parameter space allowed by the Higgs precision data, the electroweak oblique parameters, and the direct search bounds at the LHC. Two kinds of production channels, $gg\to H^\pm W^\mp b \bar{b}$ and $g g \to H/A \to H^\pm W^\mp$, are also studied. We find that the signal rate $\sigma \times \mathcal{B}(W \gamma)$ is quite sizable, more than 10 fb in some parameter space.