First commit. Working for featured images & galleries. Plenty of room for improvement.