The javascript-popup for the images has a problem: if someone uses no javascript, the picture did not appear on a click.
solution: no "href=javascript..." but "<a href=image-link onclick="the script; return false"
But this perhaps can have other problems with popup-blocker.
But the best idea is - I think - to make normal href-links to the image for all these without javascript - but for the people with js the real nice functions of the lightbox-plugin!
For testing I make these:
Code: Select all
<a href="{$plugin_usergallery_file.link}"rel='lightbox'>
<img class="gallery_thumb" {if $plugin_usergallery_file.dimensions_width > 480}width="480px" height="{math equation="round((480/x) * y)" x=$plugin_usergallery_file.dimensions_width y=$plugin_usergallery_file.dimensions_height }px"{else}width="{$plugin_usergallery_file.dimensions_width}px" height="{$plugin_usergallery_file.dimensions_height}px"{/if}
src="{$plugin_usergallery_file.link}" border="0" alt="" /></a>