FIX size of fotorama
This commit is contained in:
parent
9d357f9ded
commit
79a94535fc
|
|
@ -62,6 +62,7 @@ class PageController extends Controller
|
||||||
$point = Point::model()->getByPK($id);
|
$point = Point::model()->getByPK($id);
|
||||||
$point->descriptionHtml = nl2br($point->description);
|
$point->descriptionHtml = nl2br($point->description);
|
||||||
$point->name = htmlspecialchars($point->name);
|
$point->name = htmlspecialchars($point->name);
|
||||||
|
App::setConfig('title', $point->name. ' - wikipoints.ru');
|
||||||
|
|
||||||
$categories = Category::model()->getAll(array('order' => 'ord ASC', 'asArray' => true));
|
$categories = Category::model()->getAll(array('order' => 'ord ASC', 'asArray' => true));
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-body" style="text-align: center;">
|
<div class="modal-body" style="text-align: center;">
|
||||||
<img src="" id="imageModalImg" style="max-width: 555px; max-height: 450px;" />
|
<img src="" id="imageModalImg" style="max-width: 555px; max-height: 450px;" />
|
||||||
<div class="fotorama" data-loop="true" data-auto="false" maxwidth="555" maxheight="450" ></div>
|
<div class="fotorama" data-loop="true" data-auto="false" data-width="555" data-height="450"></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue