Thursday 3 September 2015

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.

No comments:

Post a Comment