WordPress.org

Ready to get started?Download WordPress

Forums

NextGEN Gallery
[resolved] Gallery sort order drag/drop weirdness (11 posts)

  1. simongreenland
    Member
    Posted 2 years ago #

    Hi all,

    I'm using NGG1.9.3 on WP 3.3.1. When attempting to sort a gallery, the drag and drop behaviour is causing confusion. When selecting a thumbnail, a ghost thumbnail (the one I usually expect to appear directly underneath the cursor to show me where I'm dragging to) appears in the wrong place. I measured it with a screenshot - it's just over 230px too far to the right, and around 100px too low. Which means that if I click the centre of a thumbnail, a ghost thumbnail appears, and the centre of this ghost is always 230px to the right of my cursor position and 100px below it - it stays in the same place relative to my mouse movement. The black cursor, meanwhile, the one that shows you where I'm about to drop the thumbnail, is roughly halfway between my mouse and the floating ghost, but it doesn't behave as expected, because in a situation where I have a row of thumbnails A B C D E, I have to position the black cursor between D and E in order to drag a thumbnail into place between C and D. So it's always 1 thumbnail too far to the right.

    What's going on? I don't see any javascript errors, and exactly the same thing happens on Firefox 10 & 11 on a PC, Firefox 10 on a Mac and IE 8 on a PC. I don't care so much, but it's confusing the hell out of the site's users, some of whom aren't very computer literate anyway, so it's enough of a challenge to get them to drag and drop at the best of times, never mind telling them to drag something somewhere counter-intuitive and where it doesn't look like it's supposed to be.

    Any help gratefully received.

    http://wordpress.org/extend/plugins/nextgen-gallery/

  2. clada
    Member
    Posted 2 years ago #

    I'm having the same issue... seems to be a jQuery Problem on the newest NGG1.9.3, without javascript errors & not browser related

  3. rubinstein
    Member
    Posted 2 years ago #

    I also have the same issue. Will be there a fix soon?

  4. ajgon
    Member
    Posted 2 years ago #

    Howdy,

    I had the same problem - it appeared that new WP has set 'position: relative;' on #wpbody container and all absolute positioning on sortable elements are ruined (they are not created in main body node, but much more inside). So the quick, dirty and working solution for now is:

    #wpbody {
    position: static !important;
    }

    at the end of the /wp-content/plugins/nextgen-gallery/admin/css/nggadmin.css .

    Hope this helps!

  5. clada
    Member
    Posted 2 years ago #

    thank you so much :)
    worked perfectly! hopefully it can be fixed with the next update!

  6. simongreenland
    Member
    Posted 2 years ago #

    That works for me too. A million thanks, ajgon!

  7. Josh.biz
    Member
    Posted 2 years ago #

    Thanks, A. I love using NextGEN gallery and this fixes the annoying drag and drop bug.

  8. solarplexus1
    Member
    Posted 2 years ago #

    Three cheers for ajgon! Thanks a lot; perfect!

  9. stephen_lsd
    Member
    Posted 1 year ago #

    Amazing Ajgon, I had been frantically searching the web for fixes since one of my clients brought it to my attention 2days ago!

  10. vickistep
    Member
    Posted 1 year ago #

    Great fix. Thank you.

  11. NatalyR
    Member
    Posted 1 year ago #

    Thank you for the fix, the drag and drop is ok now :0)
    However, i don't have thumbnails anymore, i only see a part of the image.
    I should dig in the css a bit more maybe...

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags