In content-based image retrieval (CBIR), in order to alleviate learning in the high-dimensional space, Fisher discriminant analysis (FDA) and multiple discriminant analysis (MDA) are commonly used to find an optimal discriminating subspace that the data are clustered in the reduced feature space, in which the probabilistic structure of the data could be simplified and captured by simpler model assumption, e.g., Gaussian mixtures. However, due to the two reasons (i) the real number of clases in the image database is usually unknown; and (ii) the image retrieval system acts as a classifier to divide the images into two classes, relevant and irrelevant, the effective dimension of projected subspace is usually one. In this paper, a novel hybrid feature dimension reduction techniqe is proposed to construct descriptive and discriminant features at the same time by maximizing the Rayleigh coefficient. The hybrid LDA and PCA analysis not only increases the effective dimension of the projected subspace, but also offers more flexibility and alternatives to LDA and PCA. Extensive tests on benchmark and real image databases have shown the superior performances of the hybrid analysis.