Don't miss out Virtual Happy Hour this Friday (April 26).
Try our conversational search powered by Generative AI!
AI OnAI Off
Don't miss out Virtual Happy Hour this Friday (April 26).
Hi Chris and Tony.
This is possible, but you have to get the picture file object to find the meta tags associated to it. You could do it like this:
UnifiedFile file = HostingEnvironment.VirtualPathProvider.GetFile("PathToFile") as UnifiedFile;
if (file != null && file.Summary.Dictionary.Contains("Description"))
{
string altText = file.Summary.Dictionary["Description"].ToString();
}
Hope this helps!
Br, Tore