Latchezar Mladenov
Posts: 0
Joined: Thu Jan 10, 2013 11:19 pm

Open the gallery and choose image

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

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Open the gallery and choose image

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...

Latchezar Mladenov
Posts: 0
Joined: Thu Jan 10, 2013 11:19 pm

Open the gallery and choose image

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.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Open the gallery and choose image

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.

Norman Wong
Posts: 0
Joined: Fri Feb 08, 2013 8:04 am

Open the gallery and choose image

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"?

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Open the gallery and choose image

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

Ryein Goddard
Posts: 0
Joined: Fri Jul 19, 2013 3:09 am

Open the gallery and choose image

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

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Open the gallery and choose image

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

AricCaley
Posts: 0
Joined: Thu Jul 18, 2013 11:22 pm

Open the gallery and choose image

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.

?

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Open the gallery and choose image

Hello Aric,

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

Return to “Issues”