Thunderbird Extensions
Apple - mac
Donation
Make a donation to help WiPhA development

Search




Preferences

Connect again
---

Your user name :

Your secret code


 Count of members 123 members


Connected :

(nobody)
Visits

 2073894 visitors

 19 visitors online

Private
forum.gifForum - Web iPhoto Access - Topic #346

Forum - Forum
Web iPhoto Access - Web iPhoto Access


active  Topic # 346  Rordering photos by reverse date?

01/04/2013 @ 09:28
by djcouchycouch

Anonymous

visitor

Hello,
How would I go about changing the order of photos so that the most recent ones are shown first? Is there a setting or code I can change?
Thanks!
DJCC
  Post an answer  Top
Answer n 1
--------
02/04/2013 @ 02:44
by Globs

Globs

Administrator

Hi,

in file Sites/wipha/libs/wipha.php, in function cmpPhotoTimestamp($a, $b), you would replace this line:

 
Code : php
else return ($ta<$tb) ? -1 : 1;
 
by this one:

 
Code : php
else return ($ta>$tb) ? -1 : 1;
 
(not checked, but most likely correct)
Write to Globs   Website Globs Post an answer  Top
Answer n 2
--------
03/04/2013 @ 09:17
by djcouchycouch

Anonymous

visitor
Looks like it worked! Thanks!
  Post an answer  Top
active topic active   closed topic closed   Sticky Sticky   New New message   -   Correct Correct message   Close Close topic   Make sticky Make sticky
[]
Forum Topic  Forum 



^ Top ^