coppermine-gallery.com/forum

Support => Older/other versions => cpg1.3.x Support => Topic started by: dracomiconia on September 17, 2004, 09:17:04 AM

Title: Show random image out of Coppermine
Post by: dracomiconia on September 17, 2004, 09:17:04 AM
How could I show a random image in my website, out of the Gallery?

What's the code?

Thanks.
Title: Re: Show random image out of Coppermine
Post by: bbbbug on September 17, 2004, 02:24:05 PM
I want this add-ons,too~
Title: Re: Show random image out of Coppermine
Post by: Nibbler on September 17, 2004, 04:00:27 PM
Use SSI or RSS.

Search the board before I get RSI.  ;)
Title: Re: Show random image out of Coppermine
Post by: bbbbug on September 18, 2004, 12:30:13 PM
thanks~
i found it yesterday.
Title: Re: Show random image out of Coppermine
Post by: jds656859 on September 23, 2004, 01:30:01 AM
I'm getting some weird error with ssi in cpg132 check it out http://freebyrd.homeip.net/cpg132/ssi.php
it works sortof but still lots of errors http://freebyrd.homeip.net/cpg132/example.php

What am I doing wrong here?
Title: Re: Show random image out of Coppermine
Post by: Nibbler on September 23, 2004, 01:42:15 AM
You have 2 options

1) Fix the notices by cleaning up the code

2) Hide the notices by adding error_reporting (E_ALL ^ E_NOTICE); to the top of the file.
Title: Re: Show random image out of Coppermine
Post by: jds656859 on September 23, 2004, 12:33:38 PM
Since I wouldn't have a clue where to start to clean it I will get ride of the errors.. Thanks for the info

Title: Re: Show random image out of Coppermine
Post by: jakeslife on October 10, 2004, 10:07:35 AM
I have scoured the boards, but with all the spelling errors and titles of "Help..." maybe I'm completely missing it and it wasn't posted here. I want to be able to have a single random pic, the newest pic, and the total of photos from the gallery displayed on my homepage but I'm not sure how to do it. I have picked apart the page and tried using the http://www.mysite.net/scripts/coppermine/displayimage.php?album=lastup&cat=&pos=0 code to display it but that won't work. Any suggestions?
Title: Re: Show random image out of Coppermine
Post by: Joachim Müller on October 10, 2004, 11:23:55 AM
searching the mods board would have shown you these threads:
Joachim
Title: Re: Show random image out of Coppermine
Post by: jakeslife on October 11, 2004, 06:54:29 AM
Indeed. And even though I read those, I stilll didn't find all my answers. Well, not even one clearcut one in my opinion. Thanks for your help yo!