Skip to content

Commit

Permalink
fix some broken image paths in eLife lens adapter (fixes #85)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rik Smith-Unna committed Jun 24, 2017
1 parent 76a13b0 commit 018c99d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/client/lib/lens/lens.js
Original file line number Diff line number Diff line change
Expand Up @@ -15853,6 +15853,7 @@ SciFaireLifeConverter.Prototype = function() {
.replace('.jpg.jpg', '.jpg')
.replace('.tif.jpg', '.jpg')
.replace('.jpg', '-600w.jpg')
if (!/600w\.jpg$/.test(url)) url = url + '-600w.jpg'
node.url = this.getAssetUrl(url, state)
}
}
Expand Down

0 comments on commit 018c99d

Please sign in to comment.