diff --git a/source/js/Core/Media/VMM.MediaElement.js b/source/js/Core/Media/VMM.MediaElement.js index 2d1f6f5..1266c9d 100644 --- a/source/js/Core/Media/VMM.MediaElement.js +++ b/source/js/Core/Media/VMM.MediaElement.js @@ -122,7 +122,11 @@ if(typeof VMM != 'undefined' && typeof VMM.MediaElement == 'undefined') { } // IMAGE if (m.type == "image") { - mediaElem = "
"; + var alt = ""; + if (data.alt) { + alt = " alt='" + data.alt + "'"; + } + mediaElem = "
"; // FLICKR } else if (m.type == "flickr") { //mediaElem = "
" + loading_messege + "
"; @@ -222,4 +226,4 @@ if(typeof VMM != 'undefined' && typeof VMM.MediaElement == 'undefined') { } }).init(); -} \ No newline at end of file +}