View Single Post
Old February 15th, 2005, 04:49 PM   #1 (permalink)
rbl
Senior Member
Verified Customer
 
Join Date: Aug 2003
Location: Portugal
Posts: 492
Send a message via AIM to rbl Send a message via MSN to rbl
Create a direct to last image in category?

Hi!
One thing I would like to add to my member categories, is a direct link to the last image posted, bypassing the category index page.

Using the demo gallery as example, clicking in the "Food" category link, would automatically take you to the "Halloween pumpkin!" page, which is the last image uploaded (at the time I'm writing this) in the category.

I think a forward page might be the best, i.e.,
- you click the category link pointing to forward.php;
- the category ID is passed along the url;
- forward.php queries the db and gets the last image posted url;
- and finally automatically forwards the visitor there.

Is there a better and simpler way?
Any help is appreciated! =)

Thanks!
Ricardo
rbl is offline   Reply With Quote