Phonegap / Cordova selecting multiple photos

Cordova camera plugin allow user to select one picture at a time. However, we can show all pictures selected by gallery or captured by camera one by one by following code:

view file:



<div ng-controller=“MultipleSelEx”>

<div class="list card">

<div class="item item-divider" ng-click="oneImage()">Select one picture</div>


<div class="item item-body">

<div ng-repeat="item in image">
                          <img ng-src="{{item}}" id="myImage" width="50" height="50" />
               </div>

          </div>

    </div>


<div class="list card">

<div class="item item-divider" ng-click="mulImage()">select multiple pictures</div>


<div class="item item-body”>

<div ng-repeat="item in images">
                      <img ng-src="{{item}}" id="myImage" width="50" height="50" />
               </div>

          </div>

    </div>

</div>

Phonegap-Cordova selecting multiple photos

Read the full Blog at: Phonegap / Cordova selecting multiple photos

FindNerd’s  Php Developer Forum to post php Questions and Answers. This forum is developed for those tech geeks who don’t want to wait for a longer duration of time, as the community members within FindNerd can answer any android query within shortest possible time frame.

Apart from this, If you have any language query like C, Java, JavaScript, iOS, Html, PHP etc . you can post at FindNerd’s Java questions and answers  forum.

Advertisements
Phonegap / Cordova selecting multiple photos

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s