4

Here I have the code to select image from gallery, but how can I select multiple images from gallery?

Ti.Media.openPhotoGallery({
    // allowEditing:true,
    mediaTypes : [Ti.Media.MEDIA_TYPE_PHOTO],
    success : function(e) {
        alert(e);
        ImageView.image = e.media;
        //alert('height:'+e.media.height+'width:'+e.media.height);
        lblWidth.text = 'W :'+e.media.width;
        lblHeight.text ='H :' +e.media.height;
    },
    cancel : function() {
    },
    error : function(err) {
    }
});
Swanand
  • 1,138
  • 8
  • 21

2 Answers2

4

Here I found the module for android

Link for marketplace (Multi Image Picker) and Link for the source code on github (TiMultiImagePicker). and here is the Link for iOS module.

Swanand
  • 1,138
  • 8
  • 21
2

Selecting multiple images isn't supported either by Titanium nor native iOS.

You can try this iOS Asset Library Access module. However, I read that there are some issues with it.

daniula
  • 6,898
  • 4
  • 32
  • 49