Page 1 of 3

Open the gallery and choose image

Posted: Tue Feb 05, 2013 12:04 am
by Latchezar Mladenov

Hi,
How with button click I can open the gallery and choose an image? With any service or?


Open the gallery and choose image

Posted: Tue Feb 05, 2013 1:02 am
by maxkatz

You can use the Camera component: http://docs.tiggzi.com/tutorials/usin.... Set destinationType to PHOTOLIBRARY.

http://docs.phonegap.com/en/2.3.0/cor...


Open the gallery and choose image

Posted: Tue Feb 05, 2013 9:08 am
by Latchezar Mladenov

Yes, I made the tiggzi example but I want to click a button which opens rhe gallery(like the opening of camera) and choose file from the gallery which will load on the empty image on the app.


Open the gallery and choose image

Posted: Tue Feb 05, 2013 9:48 am
by Maryna Brodina

Hello! All you need to do is to set sourcetype (in Request mapping) to Photolibrary. After click on Button phone gallery opens, you can select image which will be uploaded in image component.


Open the gallery and choose image

Posted: Fri Feb 08, 2013 8:04 am
by Norman Wong

how to set the Request mapping if i had two button for Photolibrary and Camera?
i created a Local storage variables changing by two button (value = 1 or 2) however, how to set sourcetype's value by sourcetype's index on the "Add JS"?


Open the gallery and choose image

Posted: Fri Feb 08, 2013 8:56 am
by Maryna Brodina

Hello! This tutorial should help http://docs.tiggzi.com/tutorials/uplo...


Open the gallery and choose image

Posted: Sun Jul 21, 2013 4:52 am
by Ryein Goddard

Anything on this issue? I'm trying to do the same thing.


Open the gallery and choose image

Posted: Sun Jul 21, 2013 4:49 pm
by maxkatz

Did you try the suggestion here: https://getsatisfaction.com/apperyio/...


Open the gallery and choose image

Posted: Fri Sep 26, 2014 3:39 pm
by AricCaley

Trying to get this to work but it always brings up the camera not the gallery, I've tried "Photolibrary" and "PHOTOLIBRARY" for destinationType to no avail.

?


Open the gallery and choose image

Posted: Sun Sep 28, 2014 3:23 am
by Alena Prykhodko

Hello Aric,

Please tell us what exactly you have tried and what doesn't work?