Module: Organize - Multiple selection?

CalgarySteve

Joined: 2012-01-11
Posts: 21
Posted: Tue, 2012-09-04 01:25

Hi,

I uploaded all my vacation photos (to my own Gallery3 installation) and now want to move them into sub-folders based on the city that the photos are of.

Using the "Organize" module (Visually rearrange and move photos in your gallery), is there a way to select multiple images and drag them ALL into another folder? I am a programmer and tried to dive into the code, but am not familiar with Javascript and the browser environment, so it was a bit difficult to decipher.

It really seems that it's supported in the code, but I cannot figure out from a User Interface how to select more than one image.

Alternatively, is there another module that would provide the functionality of easily moving groups of photos between albums? Doing it one photo at a time is a bit time consuming.

Thanks,
Steve

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Tue, 2012-09-04 01:56

Click on a image, Shift then click on the last on in series. Drag to the album you want on the left sidebar.
They have to be consecutive. Ctrl click does not work as far as I can tell.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Tue, 2012-09-04 02:07

Once you have selected most of the items with shift-click, then you can use CTRL click to deselect the items you don't want.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
CalgarySteve

Joined: 2012-01-11
Posts: 21
Posted: Tue, 2012-09-04 03:32

That's great! Thanks for the fast response.

Cheers,
Steve

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Tue, 2012-09-04 04:09

Got some better wording for what we have now for the docs:
http://codex.gallery2.org/Gallery3:Modules:organize
that you can suggest?

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
CalgarySteve

Joined: 2012-01-11
Posts: 21
Posted: Sat, 2012-09-08 19:00

Hi,

Took a bit of digging, but I found the code that implements the multiple selection so yes, I will draft some documentation in the next week or so.

    doMultiSelection : function(item, index, e){
        if(e.shiftKey && this.last !== false){
            var last = this.last;
            this.selectRange(last, index, e.ctrlKey);
            this.last = last; // reset the last
        }else{
            if((e.ctrlKey||this.simpleSelect) && this.isSelected(index)){
                this.deselect(index);
            }else{
                this.select(index, e.ctrlKey || e.shiftKey || this.simpleSelect);
            }
        }
    }
 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sun, 2012-09-09 03:08
Quote:
I will draft some documentation in the next week or so.

Great! looking forward to what you come up with.

Dave (fellow Albertan)
_____________________________________________
Blog & G2 || floridave - Gallery Team