31
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 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??



32
basil
_XG_ERRORINX [-1] _XG_OUTOFB [0] - error on page
  • 2006/1/17 7:05

  • basil

  • Just popping in

  • Posts: 68

  • Since: 2005/2/14


The following error
_XG_ERRORINX [-1_XG_OUTOFB [0]
appears at the top of my XOOPS page - www.maranoa.org.au/xoops

Can anyone suggest how I can fix it, so it'll disappear?

Basil



33
basil
Modifying where static images come from in XcGal
  • 2006/1/17 3:59

  • basil

  • Just popping in

  • Posts: 68

  • Since: 2005/2/14


I upgraded my XcGal to 2.02, and have been able to get random images, which I couldn't before in previous versions.

One extra mod I'd like to make is to pull the images from only 1 gallery - not from the range of galleries.

The pics I want are all in xcgal/albums/userpics/10001/

The code for the static page looks like this:
<table width="100%" cellspacing="1" align="center">
  <{if 
$block.position == 1}>
  <
tr>
    <{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}>
  </
tr>
  <{else}>
  <{foreach 
item=pic from=$block.pics}>
  <
tr>
    <
td align="center" style="padding: 10px;vertical-align: middle;">
                <
a href="<{$xoops_url}>/modules/xcgal/<{$pic.link_tgt}>"><{$pic.image}></a> <br />
                <{
$pic.caption}>
        </
td>
  </
tr>
  <{/foreach}>
  <{/if}>
</
table>


Can I simply add
albums/userpics/10001/
after xcgal in the 2 lines where that appears?

Well I tried, but it doesn't limit it to the 1 directory !
Your suggestions would be appreciated.

Basil



34
basil
Re: XCGal - I'd like to get more than 1 image randomly for top page
  • 2006/1/14 22:46

  • basil

  • Just popping in

  • Posts: 68

  • Since: 2005/2/14


bump



35
basil
Re: XCGal - I'd like to get more than 1 image randomly for top page
  • 2006/1/6 8:20

  • basil

  • Just popping in

  • Posts: 68

  • Since: 2005/2/14


bump



36
basil
Re: XCGal - I'd like to get more than 1 image randomly for top page
  • 2006/1/3 22:24

  • basil

  • Just popping in

  • Posts: 68

  • Since: 2005/2/14


Thanks gdamania - I've used it, but I want to show 3 or 4 pics, depending on their width, in a block, as random images. XOOPs gallery does it nicely, but I want to use XcGal, simply because of the way the page is setup.I could only get this script to display 1 image - I use it for the banners on the main page

Both galleries are used on the page - Xcgal has been renamed maranoa mugshots. I've been into the blocks to try to edit them, but because it didn't have anyything there that resembled a random image ( not that I could see), I wasn't able to tweak any code.

Hence my posting the question here, in the hope someone may have done something similar.

Look forward to your replies.



37
basil
Need help to make a random picture block from XCGal
  • 2006/1/2 7:46

  • basil

  • Just popping in

  • Posts: 68

  • Since: 2005/2/14


On our community site, www.maranoa.org.au , I need help to create a block that pulls random pictures from XcGal (Maranoa Mugshots) and displays them in Seen Around Town.

You'll see I've had a bit of a bash, although not really successfully. I can't see anything in the built in functions that allows me to do that.

You're help would be appreciated

Basil



38
basil
XCGal - I'd like to get more than 1 image randomly for top page
  • 2005/12/29 11:51

  • basil

  • Just popping in

  • Posts: 68

  • Since: 2005/2/14


I'm using XCGal on our community site www.maranoa.org.au/xoops - and I'd like to grab some random images for the top page - in the seen around town block.
I can grab one image, but I'd like to grab 3 or 4 images randomly from the album.

How would I go about that??? I'm not an expert coder - but I can adapt some stuff.

Basil



39
basil
Re: Which upgrade should I use?
  • 2005/12/18 23:56

  • basil

  • Just popping in

  • Posts: 68

  • Since: 2005/2/14


Thanks for the URL.
Is there somewhere that gives me a step by step as to what upgrades to use? On that site, I can only see a 2.0.9 upgrade.

I'm after security, rather than cutting edge XOOPS.

Cheers



40
basil
Which upgrade should I use?
  • 2005/12/18 6:09

  • basil

  • Just popping in

  • Posts: 68

  • Since: 2005/2/14


I currently have a XOOPS 2.0.5 installation. Obviously that needs an upgrade.
I couldn't see anything that catered for this older version.

What's the best way to go??




TopTop
« 1 2 3 (4) 5 6 7 »



Login

Who's Online

184 user(s) are online (118 user(s) are browsing Support Forums)


Members: 0


Guests: 184


more...

Donat-O-Meter

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

Latest GitHub Commits