Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out 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