mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-12-24 14:07:03 +01:00
Display image typed embeds similar to attachments
This commit is contained in:
parent
a625e88edb
commit
470607af1a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user