1
basil
How do I put a caption under images in XcGallery?
  • 2006/1/22 5:47

  • basil

  • Just popping in

  • Posts: 68

  • Since: 2005/2/14


I'm using Xcgallery on http://www.maranoa.org.au/xoops, and I have latest pics on the front page (Seen around town).
The problem is, it shows the date the image was uploaded, and by whom.

I want the caption for each image to be the picture title - in fact caption doesn't show anywhere for the picture. Except in the config where it gives you the option to display captions - I ticked yes.

Anyne shed any light on what I may be doing wrong??

2
mawi27
Re: How do I put a caption under images in XcGallery?
  • 2006/1/24 13:43

  • mawi27

  • Friend of XOOPS

  • Posts: 103

  • Since: 2006/1/1 1


I have the same Problem.

When uploading the image there is no field caption to write anything into it.
Result: Database field caption is empty for all my images.

The static-Image block template is:
<{foreach item=pic from=$block.pics}>
 <
td align="center" class="odd" style="padding: 10px;vertical-align: middle;">
 <
a href="<{$xoops_url}>/modules/xcgal/<{$pic.link_tgt}>"><{$pic.image}>a><br />
 <{
$pic.caption}>
 td>
<{/foreach}>


I changed $pic.caption to $pic.title but nothing happened.

So in the next step i filled the db field caption for the images but the smarty debug console shows:

{$pic} Array (6)
pos => -27
image => img src="http://test.mydomain.de/...
caption => empty
pid => 27
link_tgt => displayimage.php?pid=27&album=ran...
i => 1


Very sad, since xcgal is a good album module.
Xoops: 2.2.3, Xcgal: 2.0.2

Marco
--
Match Dart!
Darts Ranking, News, Videos, Forum and more

Login

Who's Online

289 user(s) are online (55 user(s) are browsing Support Forums)


Members: 0


Guests: 289


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Sep 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits