PHP Code to view latest images PHP Code to view latest images
 

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

PHP Code to view latest images

Started by Daniel_Hatcher, October 29, 2005, 02:04:58 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Daniel_Hatcher

I'm looking for a script to do a latest additions feature on my website, i tried myself the images how but when you click them it does not go to that image.

Abbas Ali

If you are looking for a mod to show pictures from coppermine on to your home page or website then this will help.

http://forum.coppermine-gallery.net/index.php?topic=19077.0
Chief Geek at Ranium Systems

Daniel_Hatcher

I tried that the thing is i have it shown in a Variable like '$template_header="";'  and that does not do that.

Abbas Ali

You must be using one of the functions to display images. For example is you are using cpm_viewRandomMediaFromCategory() function of cpmfetch then edit cpmfetch.php file and edit function cpm_viewRandomMediaFromCategory.

Replace


print $this->createTable($resultset,$rows,$columns);


with


return $this->createTable($resultset,$rows,$columns);


and collect the returned value in whatever variable u want.
Chief Geek at Ranium Systems