Browse Source

fix path for thumb

tags/1.5
Nico Rey 3 years ago
parent
commit
3122671bb8
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      templates/webpanel/Views/V_viewLastImage.php
  2. +1
    -1
      templates/webpanel/Views/V_viewLastImages.php

+ 1
- 1
templates/webpanel/Views/V_viewLastImage.php View File

@@ -8,7 +8,7 @@
echo "<tr>";
$col_count=1;
}
echo "<td><div id =\"satimgdiv\"><a href=". $baseurl . "/" . $image['file_path'] ."><img id=\"satimg\" src=". $baseurl . "/thumb/" . $image['file_path'] ."></img></a></div>";
echo "<td><div id =\"satimgdiv\"><a href=". $baseurl . $image['file_path'] ."><img id=\"satimg\" src=". $baseurl . "thumb/" . $image['file_path'] ."></img></a></div>";
echo "<ul><li>". $image['sat_name'] ."</li>";
echo "<li>". date('d/m/Y H:i:s', $image['pass_start']) ."</li></ul></td>";
if($col_count==3) {


+ 1
- 1
templates/webpanel/Views/V_viewLastImages.php View File

@@ -25,7 +25,7 @@
} else {
$ending = "-122-rectified.jpg";
}
echo "<td><div id =\"satimgdiv\"><a href=". "detail.php?id=" . $image['id'] ."><img id=\"satimg\" src=". $baseurl . "/thumb/" . $image['file_path'] . $ending ."></img></a></div>";
echo "<td><div id =\"satimgdiv\"><a href=". "detail.php?id=" . $image['id'] ."><img id=\"satimg\" src=". $baseurl . "thumb/" . $image['file_path'] . $ending ."></img></a></div>";
echo "<ul><li>". $image['sat_name'] ."</li>";
echo "<li> " . $lang['elev'] . ": ". $image['max_elev'] ."°</li>";
echo "<li>". date('d/m/Y H:i:s', $image['pass_start']) ."</li></ul></td>";


Loading…
Cancel
Save