Display image typed embeds similar to attachments

This commit is contained in:
Jeremy Zhang 2018-06-27 02:34:48 +00:00
parent a625e88edb
commit 470607af1a

View File

@ -1111,6 +1111,12 @@
// continue;
// }
if (disembed.type == "image") {
var img = "<img class=\"image attachment materialboxed\" src=\"" + disembed.thumbnail.proxy_url + "\">";
emb.push(img);
continue;
}
disembed.isVideo = false;
if (disembed.type == "video") {
disembed.isVideo = true;