Show random image out of Coppermine Show random image out of Coppermine
 

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]

Main Menu

Show random image out of Coppermine

Started by dracomiconia, September 17, 2004, 09:17:04 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

dracomiconia

How could I show a random image in my website, out of the Gallery?

What's the code?

Thanks.

bbbbug

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.mytfls.com%2Fphoto%2Fmyphoto.php&hash=69be14cb204c2f9b30a4bb1876cf8d5154fec7f8)

Nibbler

Use SSI or RSS.

Search the board before I get RSI.  ;)

bbbbug

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.mytfls.com%2Fphoto%2Fmyphoto.php&hash=69be14cb204c2f9b30a4bb1876cf8d5154fec7f8)

jds656859

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?

Nibbler

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.

jds656859

Since I wouldn't have a clue where to start to clean it I will get ride of the errors.. Thanks for the info


jakeslife

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?

Joachim Müller


jakeslife

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!