1
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

2
gdamania
Re: XCGal - I'd like to get more than 1 image randomly for top page
  • 2006/1/2 18:04

  • gdamania

  • Just popping in

  • Posts: 11

  • Since: 2006/1/2 1


Sorry, haven't used XCGal before, but if all the images in the gallery are in the same directory, you could try using this:
http://www.alistapart.com/articles/randomizer/

I just installed it for my site banner at GDAmania. Works very nicely.

By the way, there's no need to double post.

3
jlm69
Re: XCGal - I'd like to get more than 1 image randomly for top page
  • 2006/1/2 18:22

  • jlm69

  • Module Developer

  • Posts: 719

  • Since: 2002/7/19


I don't see xcgal on that site, I only see xoopsgallery.

But anyway if you go into the blocks administration and find that block and click on edit, you will see an option to define how many images are shown.

Hope that helps,

John

4
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.

5
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

6
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

Login

Who's Online

215 user(s) are online (121 user(s) are browsing Support Forums)


Members: 0


Guests: 215


more...

Donat-O-Meter

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

Latest GitHub Commits