Direct Link to Last Pic Posted in Album, Sorted by Descending Date??? Direct Link to Last Pic Posted in Album, Sorted by Descending Date???
 

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

Direct Link to Last Pic Posted in Album, Sorted by Descending Date???

Started by roverradio, February 13, 2005, 09:43:19 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

roverradio

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!

Casper

For album id 12, use the url;

Quotethumbnails.php?album=lastup&cat=-12

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