Combining textual and visual features for image retrieval