fix thumbnailing
This commit is contained in:
parent
63edd14243
commit
8101e67b10
@ -1185,7 +1185,7 @@ Chat.prototype.generateChat = function(data) {
|
|||||||
var a = document.createElement('a');
|
var a = document.createElement('a');
|
||||||
a.setAttribute('target', '_blank');
|
a.setAttribute('target', '_blank');
|
||||||
// TODO: make these configurable
|
// 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;
|
var src_url = self.options.prefix + 'img/'+file.Path;
|
||||||
|
|
||||||
a.setAttribute('href',src_url);
|
a.setAttribute('href',src_url);
|
||||||
|
Reference in New Issue
Block a user