World is now on Opti ID! Learn more
AI OnAI Off
World is now on Opti ID! Learn more
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