mirror of
				https://github.com/TitanEmbeds/Titan.git
				synced 2025-11-04 07:47:10 +01:00 
			
		
		
		
	Display image typed embeds similar to attachments
This commit is contained in:
		@@ -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;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user