Archived
1
0

fix thumbnailing

This commit is contained in:
Jeff Becker 2016-07-04 10:40:09 -04:00
parent 63edd14243
commit 8101e67b10
No known key found for this signature in database
GPG Key ID: AB950234D6EA286B

View File

@ -1185,7 +1185,7 @@ Chat.prototype.generateChat = function(data) {
var a = document.createElement('a');
a.setAttribute('target', '_blank');
// TODO: make these configurable
var thumb_url = self.options.prefix + 'thm/'+file.Path;
var thumb_url = self.options.prefix + 'thm/'+file.Path + ".jpeg";
var src_url = self.options.prefix + 'img/'+file.Path;
a.setAttribute('href',src_url);