Codismo
WordPress Development Tutorials
Code that allows you to easily get the alt attribute value for images in WordPress based on the attachment ID. With some fallbacks in case the alt attribute for the image is not supplied.