I have a gallery with many subgalleries with images. They are all currently set to use Lightbox.
I don't know if I am searching for this topic incorrectly or what but I can't seem to find the info on the forums, so here goes...
When a visitor clicks on one of the pictures, all they see right now are the image, image title & comments. I have multiple things in the comments section that I want broken out on separate lines. Is there a way to do that by using <br /> tags??
This is my current code:
Code: Select all
<div class="img">
{if $image->isdir}
<a href="{$image->file}" title="{$image->title}"><img src="{$image->thumb}"
alt="{$image->title}" /></a><br />{$image->title}
{else}
<a href="{$image->file}" title="{$image->title}<br
/>{$image->comment|escape:'html'}" rel="lightbox[gallery]"><img
src="{$image->thumb}" alt="{$image->title}" /></a>
{/if}
</div>
Image Here
Image Title
Image Comments; Image Comments 1; Image Comments 2; Image Comments 3; Image Comments 4
but I want them to display like:
Image Here
Image Title
Image Comments 1
Image Comments 2
Image Comments 3
Image Comments 4
So it's nicely separated out on a different line? Doable?
Or is there a way to different fields for each picture uploaded? Like if you were going to post the same stuff for each picture?
Instead of Title, Comment, can you add something like Title, Comment, Reference #:, Date, etc?
THANKS!