|
|
@ -122,7 +122,11 @@ if(typeof VMM != 'undefined' && typeof VMM.MediaElement == 'undefined') { |
|
|
|
} |
|
|
|
} |
|
|
|
// IMAGE
|
|
|
|
// IMAGE
|
|
|
|
if (m.type == "image") { |
|
|
|
if (m.type == "image") { |
|
|
|
mediaElem = "<div class='media-image media-shadow'><img src='" + m.id + "' class='media-image'></div>"; |
|
|
|
var alt = ""; |
|
|
|
|
|
|
|
if (data.alt) { |
|
|
|
|
|
|
|
alt = " alt='" + data.alt + "'"; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
mediaElem = "<div class='media-image media-shadow'><img" + alt + " src='" + m.id + "' class='media-image'></div>"; |
|
|
|
// FLICKR
|
|
|
|
// FLICKR
|
|
|
|
} else if (m.type == "flickr") { |
|
|
|
} else if (m.type == "flickr") { |
|
|
|
//mediaElem = "<div class='media-image media-shadow' id='" + uid + "'>" + loading_messege + "</div>";
|
|
|
|
//mediaElem = "<div class='media-image media-shadow' id='" + uid + "'>" + loading_messege + "</div>";
|
|
|
|