diff --git a/jquery.nivo.slider.js b/jquery.nivo.slider.js
index 8b0a774..a84fcfa 100644
--- a/jquery.nivo.slider.js
+++ b/jquery.nivo.slider.js
@@ -151,6 +151,7 @@
child = child.find('img:first');
}
if(child.attr('data-thumb')) vars.controlNavEl.append('');
+ else if(child.attr('data-label')) vars.controlNavEl.append(''+ child.data('label') +'');
} else {
vars.controlNavEl.append(''+ (i + 1) +'');
}
@@ -659,4 +660,4 @@
$.fn._reverse = [].reverse;
-})(jQuery);
\ No newline at end of file
+})(jQuery);