Advanced search  

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

Pages: [1]   Go Down

Author Topic: Direct Link to Last Pic Posted in Album, Sorted by Descending Date???  (Read 3352 times)

0 Members and 1 Guest are viewing this topic.

roverradio

  • Coppermine newbie
  • Offline Offline
  • Posts: 5

Hello...I don't know if this is possible...

I have multiple albums on my site.  One of these will have 1 new picture uploaded per week.  In my site's main menu, I want to make a direct link to that latest pic (say for instance, http://www.site.com/pictures/displayimage.php?album=12&pos=0).

Unfortunately, unless the default sort order is set to sort by descending date, this will show the FIRST pic uploaded, not the last.  Is there a way to make one specific album sort on descending date, or make it do that in a link?  I know you can force a descending date sort order for the whole album in a link (ie. http://www.site.com/pictures/thumbnails.php?album=12&page=1&sort=dd), but can you link directly to a pic, and have descending date order as well?

PS.  I don't want to do descending date on the other albums, which is why I'm trying to figure out a solution to do it with direct link to pics for just one album.

I hope this makes sense...thanks!
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: Direct Link to Last Pic Posted in Album, Sorted by Descending Date???
« Reply #1 on: February 13, 2005, 10:57:50 pm »

For album id 12, use the url;

Quote
thumbnails.php?album=lastup&cat=-12

Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 20 queries.