topic not found topic not found
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

topic not found

Started by sloaner, September 15, 2005, 09:01:13 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

sloaner

I searched for like 2 hours for the script to show the last updated image on the main webpage. Every topic i found that linked to the topic showed up topic not found. If anyone can help me with either the script or link to it i would greatly appriciate it.

artistsinhawaii

Sloaner,

The keywords, "lastup" and  "last_upload",  are in a number of files.  Depending on what theme or language you are using the references are linked to almost 70 files.   You may want to try doing a 'content' search of the files in your cpg install for "lastup" and "last_upload" to find exactly what you are looking for.   


Dennis
Learn and live ... In January of 2011, after a botched stent attempt, the doctors told me I needed a multiple bypass surgery or I could die.  I told them I needed new doctors.

sloaner

What im trying to do is put the last uploaded image on the front of my main website. I have tried and tried to find it and i cant.

artistsinhawaii

Quote from: sloaner on September 15, 2005, 10:11:21 PM
What im trying to do is put the last uploaded image on the front of my main website. I have tried and tried to find it and i cant.

Sloaner,

Open the last upload album on your website,  click on the first thumbnail.  Since the last upload album is recreated each time you add pictures, the first position is always the latest image.  Therefore, the URL that is displayed in your browser is the URL of the last upload.

It should be something like http://Yourwebsite/yourcpgfolder/displayimage.php?album=lastup&cat=0&pos=0   


Hope that's what you wanted,

Dennis
Learn and live ... In January of 2011, after a botched stent attempt, the doctors told me I needed a multiple bypass surgery or I could die.  I told them I needed new doctors.

Tranz

That link would show the page, but not the image itself, so the image won't show up on the main page.

Here's the board that covers hacks to accomplish what you want. We recommend cpm fetch. http://forum.coppermine-gallery.net/index.php?board=57.0

artistsinhawaii

Quote from: TranzNDance on September 15, 2005, 11:15:47 PM
That link would show the page, but not the image itself, so the image won't show up on the main page.

Here's the board that covers hacks to accomplish what you want. We recommend cpm fetch. http://forum.coppermine-gallery.net/index.php?board=57.0
Thanks Tranz

:-) heh.. I realized that and was about to modify the post but you beat me to it.  Another goof-up by yours truly.

anyway, Sloanne, take a look here : http://forum.coppermine-gallery.net/index.php?topic=12569.0

Dennis
Learn and live ... In January of 2011, after a botched stent attempt, the doctors told me I needed a multiple bypass surgery or I could die.  I told them I needed new doctors.

sloaner