Sorting my images?

Hey guys!

Thank you your your great peace of software ZenPhoto!

A few days ago I've upgraded to 1.2.6 from 1.2.5. Now, I've just noticed that my images are impossible to sort to my liking. I'm using the drag and drop feature to sort my images but without any luck... the images order in their own way.

Need to mention that my album is already set up to sort images manually.

What should I do?

Thank you!

Comments

  • Ha!

    It seems it was a problem with jQuery. Fixed my problem by replacing the existing jquery.js with the one found in the original package.

    Closed!
  • Yes, you have to use our version of jQuery. The newer version does break the sort when using Internet Explorer. Unfortunately our jQuery sort expert seems to have gone inactive and neither acrylian nor I understand what has changed.
  • I have installed the current version Zenphoto 1.2.6 with the jQuery files of the package, and I have the same problem... any fix for this problem ?

    Do I have to use the jQuery files from previous version of Zenphoto ?

    / FF 3.5 and MAC OS X /

    Thank you ;-)
  • acrylian Administrator, Developer
    You have to use the jQuery version that comes with Zenphoto.
  • acrylian > I'm using the version included in the last Zenphoto package and I still have this bug (with Firefox)
  • acrylian Administrator, Developer
    I am not able to reproduce that with Firefox, neither with 1.2.6 nor the nightly.
  • Sorry, it seems I am not able to sort the pictures when some of them have been added by ftp directly in the album folder... If I remove them, and re-add them by the back office, there is no problem to sort them.
  • acrylian Administrator, Developer
    The sort order is stored in the database, it should not make any difference if you upload via ftp (which I do bascially always) or not. Any errors in your server log or JS error in Firefox?
  • acrylian > for now it's working by uploading pictures one by one. Next time I will check if there is some errors in the log or in firebug. Thank you.
  • Hi, i'm facing the same problem : I'm not able to sort the image within an album. When i try to drag and drop, the selected image just go to the end and that's it. unable to select another one.
    Otherwise, zenphoto works great, thanks a lot for this nice software.
    version: 1.2.9
    Thank you
    J
  • acrylian Administrator, Developer
    Upgrade to the current version.
  • Similar issue here, 1.2.9 and jQuery was 72174 bytes, I tried replacing it with the one from 1.2.8 (55805 bytes), the one from 1.3.1 and the seemingly-identical one from the latest nightly (160712 bytes), but to no avail. Tested in latest Firefox as well as IE7.

    My problem isn't identical though; I can reorder images just fine, but I cannot resort albums if the album has subalbums. The reordering just returns to its original layout when the Save button is pressed. Sort order is manual.

    I do notice that moving individual albums around the root directory works just fine - the problem comes when I try to move an album containing sub-albums into another album. An example:
    Album 1
    Album 2
    - Album 2a
    - Album 2b
    Album 3
    - Album 3a
    - Album 3b

    What I want to do is to move Album 2, and all of its sub-albums, to become a sub-album of Album 3 (thus making it Album 3c with sub-sub-albums 3c1 and 3c2). This seems to be the thing that isn't possible. I thought it might be due to the fact of Album 2 having sub-albums, but when I tried to move Album 2b under Album 3, it also didn't work.
  • acrylian Administrator, Developer
    Please update to the current version. This is a bug in 1.2.9 we actually did post on our news section: http://www.zenphoto.org/2010/03/drag-and-drop-sorting-issue-in-zenphoto-1-2-9/
  • I've tried various versions of jquery as per instructions (from the author's site as well as from the ZP packages), and I also just tried the latest nightly build (upgrade installation) - still no luck with any combination I can try.

    EDIT: to further clarify, in both 1.2.9 and the latest nightly build of 1.3.1, I can move albums (ones with or without sub-albums) around the root directory, and can move individual sub-albums around within their parent. However, I cannot move an album with sub-albums into another album; this causes the whole lot to reset. This perhaps suggests that this specific action is causing something to be over-written with older data; can anyone else reproduce this behaviour?
  • acrylian Administrator, Developer
    I am not able to reproduce this with the current svn and Safari 4.1. Moving albums moves them also on the filesystem so maybe a permission issue. However, you should probably look into your server's error log as well.
  • Just installed ver 1.3.1.2 thru SimpleScripts on Bluehost. The gallery is being viewed fine with PHP5. But, as with other users, I am NOT able to sort any of my albums/sub-albums using the "drag-n-drop" feature. Is there any written documentation for us "newbies" that with help with the definitions of the various sort options (manual, ID, alpha, custom, etc.). Any idea why my new installation (thru admin access) will not let me do any kind of a drag-n-drop sort?
  • Please read http://www.zenphoto.org/support/?terms-of-service=display with respect to third party install routines (SimpleScripts)

    We have had numerous issues with instllations made in these fashions and have no ability to tell you what they have done wrong that is causing your problem.

    As to the documentation, there is the users guide.
  • Okay. Read all of the items you pointed out - seems you are not fond of SimpleScripts. Removed the SimpleScript installation and deleted all appropriate directories. Downloaded your ZIP installation file and installed all files into a Zenphoto directory by FTP session. Created a MySql database file, and ran Setup. No gross errors reported by Setup. Gallery comes up fine (thru the admin portal). Set up 3 albums. When I left-click my mouse on the quad-arrow symbol to the left of each album (which I assume is the button to move the entry) the symbol immediately turns to a small black circle with a slash thru it. Dragging the black circle anywhere results in no change of order. This happens regardless of what I set the default sort order to (manual, ID, alpha, etc.)

    I am using Win7, the latest version of Firefox, my host is Bluehost.com, PHP5. I really like Zenphoto but the inability (for me) to sort by drag-n-drop is exceptionally irritating. Is there any kind of switch that needs to be thrown, or a plug-in added to make this thing work out of the box? Does the default sort have to be set to manual, or ID, or ??
  • acrylian Administrator, Developer
    seems you are not fond of SimpleScripts.
    Why that is my collegue did explain.

    Anyway, I still can't reproduce that with Firefox 3.6.8 , Safari 4.1.2 or Opera 10 (our admin layout does not look perfect in Opera but we don't specifically test that one).

    Actually don't even know what "small black circle with a slash thru" you are referring to. The quad-arrow sympbol will actually get transparent with the whole line. Screenshot:
    http://zenphoto.maltem.de/album1/album-sorting.jpg.php

    The sorting is done via jQuery Javascript and has actually nothing to do with your server. Als there is no plugin or option needed to be set. So make sure you have Javascript enabled in your browser. Also see if there are any errors either in your browser or your server's error log.
  • FYI, my server is hosted through Bluehost as well and drag-and-drop works fine for me. Not sure what the problem could be. Are you getting any errors in Firefox's error console? Any relevant messages whatsoever? Also check Bluehost's error logs (there's a link in CPanel); there might be something relevant there as well.
  • Well, ahem, it really helps if you have JavaScript installed! I have made a rookie mistake and apologize for doubting your program. I applaud your desire to help me sort this out and your commitment to excellence. The "black circle with a slash through it" I referred to earlier was what my mouse pointer turned into - I should have remembered that this means "I can't do that, dummy!" I have now installed Zenphoto to my website and am actively engaged into developing the gallery. Thank you for being patient....! Everything is working perfectly!
  • WoW! I made a rookie mistake and now stand here before you with hat in hand. Once I installed/activated Javascript everything works as you have described. Thank you for your diligence in providing help, and for your outstanding program!

    Just for the record, the "small black circle with a slash thru it" was what my mouse pointer turned into (without Javascript installed). I guess it was trying to tell me that I couldn't do the drag-n-drop. Ah yes, the wonders of Microsoft.

    Now I'm off to see if I can make videos work. My first attempt was not successful.......
Sign In or Register to comment.