Parcourir la source

fix path for thumb

tags/1.5
Nico Rey il y a 4 ans
Parent
révision
3122671bb8
2 fichiers modifiés avec 2 ajouts et 2 suppressions
  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 Voir le fichier

@@ -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 Voir le fichier

@@ -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>";


Chargement…
Annuler
Enregistrer