I would like to know the directory information of a given Image. For example. This is the Image: http://upload.wikimedia.org/wikipedia/en/5/5a/2006_Olympics_Opening_Ceremony .jpg I only have this information: Image:2006_Olympics_Opening_Ceremony.jpg How can I get the directory structure: 5/5a? Nanda