Some preliminary issues: This issue is complicated slightly by the fact that random variables are only interesting up to how they behave on a set with probability measure one - or to put it another way, random variables are uninteresting on sets with probability measure zero. For an arbitrary random variable $X: \Omega \rightarrow \mathbb{R}$ it is possible for $\text{Image}(X)$ to be uncountable, but for $X$ to still have a discrete distribution, since the uncountable part has probability measure zero. This kind of thing complicates the discussion.
To simplify this matter, it is common to categorise random variables by their probability measures, rather than by the image of the random variable in its functional mapping definition. This approach is equivalent to treating random variables in equivalence classes defined by probability measure, with two different random variables (in a sense that they are different functions on the sample space) being considered equivalent if they differ only on a set with probability measure zero.
Categorising random variables by probability measure: The above explains why we caegorise random variables as "discrete" or "continuous" based on probability measure, rather than the image of their functional definition. Even with this simplification, there is still a further complication.
The probability measure for any random variable can be written as a mixture of a continuous part and a discrete part (and in some nasty cases, a singular continuous part, which we will ignore). For an arbitrary random variable $X: \Omega \rightarrow \mathbb{R}$ we can then write:
$$\mathbb{P}(X \in \mathcal{A}) = \alpha \int \limits_\mathcal{A} f(x) d\lambda(x) + (1-\alpha) \sum_{x \in \mathcal{A} \cap \mathcal{D}} p(x).$$
The first part is the continuous part of the measure, with density $f$ and $\lambda$ being Lebesgue measure. The second part is the discrete part of the measure, with mass function $p$ and $\mathcal{D}$ being a countable set. The value $0 \leqslant \alpha \leqslant 1$ is the parameter giving the mix of continuous and discrete parts.
Discrete random variables: A discrete random variables is one where the probability measure has the above form with $\alpha = 0$. You are correct that this entails a countable set of values with probability one. Remember that this does not mean that its image is countable; it is possible that it still has an uncountable image, but its probability measure is concentrated entirely on a countable set within that image.
Continuous random variables: A continuous random variable is one where the probability measure has the above form with $\alpha = 1$. This necessitates an uncountable image, and it also means that the cumulative distribution function for the random variable will be continuous in the regular functional sense.
Mixture random variables: A mixture random variable is one where the probability measure has the above form with $0 < \alpha < 1$. This necessitates an uncountable image, but it also means that the cumulative distribution function for the random variable will not be continuous in the regular functional sense. It will have jumps at the points in the discrete part of the distribution.