[lightbox / greypop] lightbox imageDataContainer bug
|
com_net
Joined: 2010-02-26
Posts: 5 |
Posted: Mon, 2010-03-15 08:59
|
|
When you browthing multipage album with lightbox - you will see correct text data (imageDataContainer) only when current photo located on page, you entered the lightbox. When current photo is outside current page of album - you will see wrong text data such as title, subtitle, description, price etc.: text data are from first or last picture on current page. This mean: lightbox can show all photos in album, but can show text data only from current page of album. Does anybody know how to fix this?
|
|

Posts: 5
sorry, some changes on test system. Correct url: http://boyztoyz.ru/aerophoto_test/stock/author/gippenreyter/
Posts: 5
workaround found: limit the number of viewable photos only those, that are on current page by editiing albumlight.tpl:
line 12 replace
{math equation="(x - 1) * y + 1" x=$theme.currentPage y=$total assign=first}
with
{g->block type="lightbox.Before" class="Peers" windowSize=$theme.childCount first=$first}
and
line 237: replace
{math equation="x * y" x=$theme.currentPage y=$total assign=last}
with
{math equation="x * y" x=12 y=$total assign=last}
, where x='pictures per page' (for me x=12, don't know appropriate variable name).
...
but still want to find a fair solution without such a strange limitation of usability