Plugin to sort images in an array

1

I'm looking for a javascript or jQuery plugin that allows me to have a table of images (for example, 6 x 6) and through drag 'n' drop or just clicks, allow me to reposition between them. I've already looked through all the search terms that I remembered and I did not find anything similar.

That is, if in a 6 x 6 matrix I click or drag on image number 1 (in position 1 x 1) to image number 29 (5 x 4 position) they switch between them. Moving to 29 to stay in place of 1 and vice versa.

Does anyone know of a plugin that exploits this solution? Thanks

    
asked by anonymous 07.02.2015 / 23:55

1 answer

1

I found two plugins that do what you want:

  • Jquery Shapeshift

      

    Shapeshift is a plugin that will dynamically organize a collection of   elements in a grid system and column similar to Pinterest. What the   difference is the ability to drag and drop items within the grid,   maintaining a logical index position for each item.

    DEMO

  • jQuery Gridly

      

    Gridly is a jQuery plugin to allow drag and drop as well as grid resizing.

    DEMO

  • 08.02.2015 / 00:09