Bug fix - Fixed undefined index error for images without alt