Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Show random image out of Coppermine  (Read 5042 times)

0 Members and 1 Guest are viewing this topic.

dracomiconia

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Show random image out of Coppermine
« 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.
« Last Edit: September 19, 2004, 02:16:13 am by GauGau »
Logged

bbbbug

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Show random image out of Coppermine
« Reply #1 on: September 17, 2004, 02:24:05 pm »

I want this add-ons,too~
Logged
(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.mytfls.com%2Fphoto%2Fmyphoto.php&hash=69be14cb204c2f9b30a4bb1876cf8d5154fec7f8)

Nibbler

  • Guest
Re: Show random image out of Coppermine
« Reply #2 on: September 17, 2004, 04:00:27 pm »

Use SSI or RSS.

Search the board before I get RSI.  ;)
Logged

bbbbug

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Show random image out of Coppermine
« Reply #3 on: September 18, 2004, 12:30:13 pm »

thanks~
i found it yesterday.
Logged
(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.mytfls.com%2Fphoto%2Fmyphoto.php&hash=69be14cb204c2f9b30a4bb1876cf8d5154fec7f8)

jds656859

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Show random image out of Coppermine
« Reply #4 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?
Logged

Nibbler

  • Guest
Re: Show random image out of Coppermine
« Reply #5 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.
Logged

jds656859

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Show random image out of Coppermine
« Reply #6 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

Logged

jakeslife

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Show random image out of Coppermine
« Reply #7 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?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Show random image out of Coppermine
« Reply #8 on: October 10, 2004, 11:23:55 am »

searching the mods board would have shown you these threads:
Joachim
Logged

jakeslife

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Show random image out of Coppermine
« Reply #9 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!
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 16 queries.