diff --git a/ground/models/Photo.php b/ground/models/Photo.php
index 47b09f5..77e3e26 100644
--- a/ground/models/Photo.php
+++ b/ground/models/Photo.php
@@ -7,6 +7,7 @@ class Photo extends Model
$this->_tableName_ = 'photos';
parent::__construct($fromArray);
$this->setRelation('point', 'pointId', 'Point', 'id', self::TO_ONE);
+ $this->setRelation('link', 'name', 'PhotoLinks', 'photo', self::TO_ONE);
}
static function model()
diff --git a/ground/views/point.php b/ground/views/point.php
index a582304..22bb634 100644
--- a/ground/views/point.php
+++ b/ground/views/point.php
@@ -45,7 +45,7 @@
-
+
diff --git a/public/css/style.css b/public/css/style.css
index 48c06a9..402c481 100644
--- a/public/css/style.css
+++ b/public/css/style.css
@@ -23,6 +23,8 @@ div.header img {height: 89px;}
div.add {cursor: pointer;}
.fotorama {display: inline-block;}
+div.fotorama__caption {text-align: left;font-size: 9px;margin-bottom: 5px;opacity: 0.6;}
+div.fotorama__caption div.fotorama__caption__wrap {padding: 0px 5px;}
#addPointModal .extraImage .button {cursor: pointer; background-color: #eeeeee;}
#addPointModal .extraImage .remove:hover {background-color: #f4bfbf;}