forked from 0x2620/pandora
fix image urls
This commit is contained in:
parent
a5e231f43c
commit
007b9394c7
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ pandora.ui.document = function() {
|
|||
imageHeight: item.dimensions[1],
|
||||
imagePreviewURL: pandora.getMediaURL('/documents/' + item.id + '/256p.jpg?' + item.modified),
|
||||
imageURL: pandora.getMediaURL('/documents/' + item.id + '/'
|
||||
+ item.title + '.' + item.extension + '?' + item.modified),
|
||||
+ pandora.safePDFName(item.title) + '.' + item.extension + '?' + item.modified),
|
||||
imageWidth: item.dimensions[0],
|
||||
width: that.width()
|
||||
}).css({
|
||||
|
|
Loading…
Reference in a new issue