diff --git a/ground/controllers/JsonController.php b/ground/controllers/JsonController.php index 9aa910c..d0d3a11 100644 --- a/ground/controllers/JsonController.php +++ b/ground/controllers/JsonController.php @@ -46,7 +46,7 @@ class JsonController extends Controller if ($point->img == '' && !empty($imgs)) { $img = array_shift($imgs); - $point->img = '/photos/small/' . $img->name; + $point->img = $img->name; } $imgs = $point->photos; diff --git a/public/js/map.js b/public/js/map.js index f08ddb3..c9ee6f1 100644 --- a/public/js/map.js +++ b/public/js/map.js @@ -177,7 +177,7 @@ function showInfo(id) pointsSources[id] = data; description = '