You can do it this way:
var result= xdoc.Descendants("image")
.Where(x => x.Attribute("size").Value == "large")
.Select(x => new User{ Image = x.Value });
Here is Working Example Fiddle
solved LINQ to XML attributes