Starting with a list of objects, turn that list into a list of only specific object properties.
//linq to ajax
var query = (from imgs in images
select new
{
Id = imgs.Id,
Title = imgs.Title
});
return Json(query.ToList(), JsonRequestBehavior.AllowGet);