Retrieving content type together with image