|
#1
|
|||
|
|||
|
Displaying latest image first
I'd like to display the latest image first. I've searched through the forums and this seems to be the default but is not how my images are displayed. Could it be the template I'm using (salted-template)?
My install is located here: http://www.theperpetualtourist.com The code to display the image: Code:
<div id="image_nav"><a href="index.php?showimage=<IMAGE_PREVIOUS_ID>"><img id="image" src="images/<IMAGE_NAME>" alt="<IMAGE_TITLE>" /></a> <div id="image_nav"><a href="index.php?showimage=<IMAGE_PREVIOUS_ID>"><< previous</a> | <a href="index.php">Current</a> | <a href="index.php?showimage=<IMAGE_NEXT_ID>">next >></a></div> |
|
#2
|
||||
|
||||
|
its all in the php files, you have to change a few lines of code...i have to jet to class but im sure someone will post how to do it for you soon.
__________________
i should say more clever stuff |
|
#4
|
|||
|
|||
|
PP always shows the latest /newest / freshest image first, when you call the index.php without any parameters
so if it does not, clean the cache! check whether the server has other timezone than your PC (you may have posted into the future... ) |
|
#5
|
|||
|
|||
|
I just uploaded a new image and it shows as the last one. I suppose posting using the EXIF date/time may have caused the confusion, but I don't understand why. Clicking the latest image takes me back to the first one posted, but it just may be a matter of playing with the date/time to get them in the correct order.
Thanks for your help. |
| Post Reply |
| Thread Tools | |
|
|