Sort images by:

Hello, I am using:
Zenphoto version 1.4.2.3 [9803] (Official Build)
Current gallery theme: zpFocus_ v1.4.2.2
I usually set the (Sort images by:) function for my albums to Date Descending. It worked just fine in the previously released version of Zenphoto that I used, but now it seems that the function does not react to any change in the settings. (The setting saves when I change it.) I even tried to set the (Display images by:) function on the images tab the same as the album tab which did not affect the image sorting for the albums. Is this an issue that may have been resolved in a more recent build? Thank-you.

Comments

  • acrylian Administrator, Developer
    If you use the html cache plugin you might need to clear it to see the effect (as loggedin admin you should see it direclty though). Did you look if your images have a date set? Note that the date from the metadata might have been used.

    The "Display images by:" is only for the backend.
  • I do not use the html cache plugin. I adjust the date (in the metadata) on the images before I upload them. That date is recorded for the images on the backend and is correctly displayed when not logged in. It seems that when I create a new album and set the (Display images by:) before I upload images the setting works and if changed it will reflect the changes. It doesn't work on existing albums with images. Even when I add new images to that album. For example I created an album a while ago without setting the date descending. Then yesterday I added new images with the current date. Changed the setting to date descending (actually tried all the choices), but that album will only display images the way they were set originally. I hope this doesn't sound too confusing. I have tested it with many pre-existing albums. Thank-you for your time!
  • acrylian Administrator, Developer
    ok, just wanted to sort our the typical errors. I have no idea right now. Just tried with the current trunk nightly and it appears to be working for me. Maybe sbillard will later have some more ideas.
  • I have just verified that this all works correnctly on the current trunk nightly build.

    Some things that have been know in the past to cause this sort of problem:

    HTML cache plugin.
    Browser cache, specially with Internet Explorer.
    Server/proxy caches.
    Themes which set the sort manually.
  • Hello, I am using:
    Zenphoto version 1.4.2.3 [9889] (Official Build)
    Current gallery theme: zpFocus_ v1.4.2.2
    I just upgraded to the trunk nightly 4-20-2012.
    I use Google Chrome and I did clear the browser cache.
    My theme allows me to sort images by the functions on the backend.
    (Sort images by:) function still does not work and either does image sort order when it is displayed. When I sort images for an album and save it, it is correct in the admin view, but not when it is displayed. Logged in or not.
    As I said before it all worked for me as it should before I upgraded to:
    Zenphoto version 1.4.2.3 [9803] (Official Build)
    Gallery theme: zpFocus_ v1.4.2.2
    Thank-you for your time!
  • If your theme is providing the sorting, look to it for the resolution of this issue. It does work correctly for me using a standard theme.
  • @gjr
    Zenphoto version 1.4.2.3 [9889] (Official Build)
    Current gallery theme: zpFocus_ v1.4.2.2
    Hello, I was wondering if something changed in zpFocus_ v1.4.2.2? It seems the (Sort images by:) function and image sorting works on the backend, but the changes are not reflected when I view an album logged in or not.
    I do not use the html cache plugin. I cleared the browser and album cache. Still the same results. This function worked with all previous versions of zpFocus. I also set the default image sort and the (Sort images by:) the same. Any suggestions would be appreciated. This function is an important part of my site.
    Thank-you!
Sign In or Register to comment.