Forum
Gallery Lightbox with Description and arrows doesn't appear.
Hi downloaded the gallery app and cannot get the lightbox to appear with the text description and arrows. I have installed it straight out the box and followed the instructions I think I am missing some js or some config files?
gallery.php
<ul class="photo-block grid-parent ul-base">
<?php perch_gallery_images(); ?>
</ul>
index.html aka gallery template
<perch:gallery id="image" type="image" key="small" height="260" />
<perch:gallery id="image" type="image" key="main" height="480" />
slightly modded - e_list_image.html
<perch:before>
<ul class="imagelisting glist cont">
</perch:before>
<li class="photo-each grid-child">
<a href="<perch:gallery id="main" />">
<img src="<perch:gallery id="small" />" width="<perch:gallery id="small-w" />" height="<perch:gallery id="small-h" />" alt="<perch:gallery id="imageAlt" />" /></a>
</li>
<perch:after>
</ul>
<perch:if exists="paging">
<ul class="pager glist">
<li class="paging-label">Page <perch:gallery id="current_page" /> of <perch:gallery id="number_of_pages" /></li>
<perch:if exists="not_first_page">
<li><a class="paging-prev" href="<perch:gallery id="prev_url" encode="false" />">Previous</a></li>
</perch:if>
<perch:if exists="not_last_page">
<li><a class="paging-next" href="<perch:gallery id="next_url" encode="false" />">Next</a></li>
</perch:if>
</ul>
</perch:if>
</perch:after>
Perch: 2.8.27, PHP: 5.6.24, MySQL: mysqlnd 5.0.11-dev - 20120503 - $Id: 76b08b24596e12d4553bd41fc93cccd5bac2fe7a $, with PDO
Server OS: Linux, cgi-fcgi
Installed apps: content (2.8.27), assets (2.8.27), categories (2.8.27), perch_gallery (2.8.6)
App runtimes: <?php $apps_list = array( 'content', 'categories', 'perch_gallery', );
PERCH_LOGINPATH: /perch
PERCH_PATH: /home/lnjpdqjy/public_html/perch
PERCH_CORE: /home/lnjpdqjy/public_html/perch/core
PERCH_RESFILEPATH: /home/lnjpdqjy/public_html/perch/resources
Image manipulation: GD
PHP limits: Max upload 32M, Max POST 64M, Memory: 96M, Total max file upload: 32M
F1: 2edba60ed1f613d6dd804feb202456a2
Resource folder writeable: Yes
DOCUMENT_ROOT: /home/lnjpdqjy/public_html
HTTP_HOST: arnasons.ca
REQUEST_URI: /perch/core/settings/diagnostics/
What else could I be missing? Help!
Do you get any errors in your browser console?
No, that's the weird thing. no errors.
The lightbox works in FF, not chrome. The description and arrows and close button don't appear.
Do you have a non-Perch version of your script working?
Figured it out! I didn't realize colorbox had to downloaded and configured.