![]() |
|
Reverse Gallery order - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Reverse Gallery order (/thread-642.html) |
Reverse Gallery order - erisian - 2006-07-02 currently i have all of my images names in the following manner: 00001.jpg, 00002.jpg etc the lower the number, the older the image. in an effort to make newer images load at the top of the gallery, i need to reverse the order display order of the directory. any idea how to automate this? have over 1400 photos in multiple galleries.. so manually doing it is out of the question right now. thanks for the help guys. Reverse Gallery order - erisian - 2006-07-13 Figured it out after pulling out some hair.. for future reference. reversing sort order can be resolved easily by end users.. back up your Classes.php file. // Store the result so we don't have to traverse the dir again. comment out the following data by adding // to the beginning of each affected line: // Sort the images array below commented information add the following lines: //This will reverse images sorting order you can do the same thing with albums by changing $images to $albums and replacing the appropriate lines in your classes.php THANKS! (anyone know if the Wiki will be fixed soon?) Reverse Gallery order - egladil - 2006-07-20 I solved it another way:
by `
I recently started using ZenPhoto and I really like it. A few things I miss though: show exif data, sort by exif date, reverse sorting for every sorting method, and view count, but I guess these are things which are being worked on. And automatic resizing during upload would be nice (I don't have enough webspace for 2mb jpegs, would be cool if zenphoto could downsize them automatically) Reverse Gallery order - hormiga - 2007-06-04 hi, on the zenPhoto 1.0.8.2 (Beta) this code find at line 124 (function getImages) in class-album.php. |