Skip to content

Commit

Permalink
add a link to image script, addressing issue #58. also, adding script…
Browse files Browse the repository at this point in the history
…s folder, containing useful scripts for working w/ ecoengine data on the back-end
  • Loading branch information
jdeck88 committed Nov 16, 2016
1 parent fd9b6f7 commit 3814624
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions scripts/findVolumeNums.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
ls -1 ../docs/mvz/ | awk -Fv '{print $NF}' | awk -F- '{print $1}' | sort -n
4 changes: 3 additions & 1 deletion web/js/ecoreader.js
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,9 @@ function showSectionFancybox(section_id, galIndex, data) {
var sidebar = $('<div class="fancybox-sidebar"><div class="fancybox-sidebar-container"></div></div>');
this.skin.append(sidebar);

var html = "<div class='fancybox-img-download'><p><a href='" + this.big + "' download='image.png'>Download Image</a></p>";
var html = "<div class='fancybox-img-download'>" +
"<p><a href='" + this.big + "' download='image.png'>Download Image</a></p>" +
"<p><a href='" + this.big + "' target='_blank'>Link to Image</a></p>";
html += "<div class='fancybox-page-nav'>" +
"<div><img src='img/zoomin.png'><label> click in center of image to enlarge</label></div>";
if (this.group.length > 1) {
Expand Down

0 comments on commit 3814624

Please sign in to comment.