Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Photo Lib Plus
Started by Michael W. Jun 07 2016 03:52 PM

27 replies to this topic
release android ios
[TOPIC CONTROLS]
Page 1 of 2 1 2
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

Michael W.

[GLOBAL: userInfoPane.html]
Michael W.
  • Contributor

  • 276 posts
  • Alumni

Photo Lib Plus

by Deleur Apps


View and activate on the Corona Store


The Photo Library Plus plugin is an extension on the existing Corona media library. With this plugin, you are able to access all of the photos from the user's device, retrieve metadata, copy the photos, and use thumbnails created by the operating system.

Documentation
  • horacebury and springmorning like this

[TOPIC: post.html]
#2

Scott Harrison

[GLOBAL: userInfoPane.html]
Scott Harrison
  • Corona Geek

  • 1,795 posts
  • Enterprise

no ios :(



[TOPIC: post.html]
#3

springmorning

[GLOBAL: userInfoPane.html]
springmorning
  • Contributor

  • 132 posts
  • Corona SDK

no ios :(

I've asked Stiven Deleur to develop this plug-in, and know first-hand that an iOS version is released soon (possibly within days).



[TOPIC: post.html]
#4

springmorning

[GLOBAL: userInfoPane.html]
springmorning
  • Contributor

  • 132 posts
  • Corona SDK

I am getting an error when including this plugin: "The following plugin could not be downloaded: com.deleurapps/plugin.photolibplus". I'm following the manual by the letter and included this in build.settings:

 plugins =
        {
            ['plugin.photolibplus'] = { publisherId = 'com.deleurapps'},
        },


Any idea what's wrong?

 

Update: there's a typo in the documentation. you should specify ['plugin.photoLibPlus']

See the camel case. Now it works fine.



[TOPIC: post.html]
#5

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 25,781 posts
  • Enterprise

Did you activate the plugin in the store?



[TOPIC: post.html]
#6

springmorning

[GLOBAL: userInfoPane.html]
springmorning
  • Contributor

  • 132 posts
  • Corona SDK

Did you activate the plugin in the store?

Hi Rob, yes I did.

 

The problem appeared to be a typo in the docs.



[TOPIC: post.html]
#7

springmorning

[GLOBAL: userInfoPane.html]
springmorning
  • Contributor

  • 132 posts
  • Corona SDK

Did you activate the plugin in the store?

However, it appeared that I hadn't activated it after all... ;)

 

But that did not break the compilation. Only when I built it for device, it showed the error that the plug-in wasn't activated.



[TOPIC: post.html]
#8

Deleur Apps

[GLOBAL: userInfoPane.html]
Deleur Apps
  • Contributor

  • 180 posts
  • Corona SDK

UPDATE

Changelog: 

  • iOS Support!
  • Added "options" parameter to createThumbnail call. Save thumbnails to a local directory without any additional calls
  • Ability to choose the size of thumbnail in iOS

 

The docs have been updated accordingly.

 

Thanks everyone for support!

Deleur Apps



[TOPIC: post.html]
#9

runewinse

[GLOBAL: userInfoPane.html]
runewinse
  • Contributor

  • 485 posts
  • Corona SDK

Hi,

 

Is it possible (how?) to use this plugin to resize and save photos taken with the camera? I need to save (and upload) images taken with the camera, but the native images are far too large.

 

Thanks!  :)



[TOPIC: post.html]
#10

Deleur Apps

[GLOBAL: userInfoPane.html]
Deleur Apps
  • Contributor

  • 180 posts
  • Corona SDK

Hey runewinse,

There is no designated feature for resizing images. However, in iOS, there is an option to specify the size when creating a thumbnail. So you can use that to save an image with the size you want. On Android, the thumbnail size is set, so you can't do that currently.

Hope that helps,
Stiven

[TOPIC: post.html]
#11

nmichaud

[GLOBAL: userInfoPane.html]
nmichaud
  • Contributor

  • 492 posts
  • Corona SDK

Hey guys, the documentation website is down. We receive the following msg : "This Account has been suspended."!



[TOPIC: post.html]
#12

Scott Harrison

[GLOBAL: userInfoPane.html]
Scott Harrison
  • Corona Geek

  • 1,795 posts
  • Enterprise

I hope this is fixed, but you can use this sample as docs

https://github.com/DeleurApps/plugin_photoLibPlus_sample/blob/master/main.lua

[TOPIC: post.html]
#13

Deleur Apps

[GLOBAL: userInfoPane.html]
Deleur Apps
  • Contributor

  • 180 posts
  • Corona SDK

Hey guys, sorry about that I'll put up a mirror asap

[TOPIC: post.html]
#14

springmorning

[GLOBAL: userInfoPane.html]
springmorning
  • Contributor

  • 132 posts
  • Corona SDK

Hey Stiven, if you need web hosting for that just let me know. Best regards, Rob

[TOPIC: post.html]
#15

Scott Harrison

[GLOBAL: userInfoPane.html]
Scott Harrison
  • Corona Geek

  • 1,795 posts
  • Enterprise

For anyone who needs docs right know I have the site cache so i grabbed all the text and put it here

 

https://www.dropbox.com/s/outz4v8vm1y2ygg/photo%20library%20plus?dl=0

 

updated

 

https://www.dropbox.com/s/outz4v8vm1y2ygg/photo%20library%20plus.txt?dl=0



[TOPIC: post.html]
#16

Scott Harrison

[GLOBAL: userInfoPane.html]
Scott Harrison
  • Corona Geek

  • 1,795 posts
  • Enterprise

I also grabbed the source code from functions and put it here

 

https://scottrules44.com/files/functions



[TOPIC: post.html]
#17

Scott Harrison

[GLOBAL: userInfoPane.html]
Scott Harrison
  • Corona Geek

  • 1,795 posts
  • Enterprise

@deleurapps, I will remove the file from my site above when get your site up (or when you ask me) :)



[TOPIC: post.html]
#18

Deleur Apps

[GLOBAL: userInfoPane.html]
Deleur Apps
  • Contributor

  • 180 posts
  • Corona SDK

Hello!

 

The docs are back up, thanks for your patience.

 

Stiven


  • springmorning likes this

[TOPIC: post.html]
#19

davida6

[GLOBAL: userInfoPane.html]
davida6
  • Contributor

  • 129 posts
  • Corona SDK

Hi, Stivin.

 

I have a question regarding the plugin.

 

Is it possible to call listImages with a specific photo name, to cut down on the time and memory required for all of the metadata?  I'm thinking of people that have thousands of images.  Yes, I can nil out the table after finding the specific image by matching the name in the data and creating a new table with just that image's data - and then pass that through copyImage and createThumbnail but the original scan and subsequent loop to find the specific image in the metadata table could be significant.

 

I'm trying to find a way to use the stock media api's to select or take a pic, create the thumbnail, save it and move on.



[TOPIC: post.html]
#20

kiteorca

[GLOBAL: userInfoPane.html]
kiteorca
  • Observer

  • 24 posts
  • Corona SDK

Does anyone have the documentation for this? Just purchased the plugin,but there is no doc to show all the feature this plugin has.

Specifically,I need to know how to use the plugin to open the gallery of user device,and select multiple images from the gallery and display the image in the app.



[TOPIC: post.html]
#21

Scott Harrison

[GLOBAL: userInfoPane.html]
Scott Harrison
  • Corona Geek

  • 1,795 posts
  • Enterprise

Does anyone have the documentation for this? Just purchased the plugin,but there is no doc to show all the feature this plugin has.

Specifically,I need to know how to use the plugin to open the gallery of user device,and select multiple images from the gallery and display the image in the app.

https://github.com/DeleurApps/plugin_photoLibPlus_sample/blob/master/main.lua


  • kiteorca likes this

[TOPIC: post.html]
#22

kiteorca

[GLOBAL: userInfoPane.html]
kiteorca
  • Observer

  • 24 posts
  • Corona SDK

https://github.com/DeleurApps/plugin_photoLibPlus_sample/blob/master/main.lua


Hi scott, thanks for replying! I already checked that sample before, but it doesnt show me how to open the gallery on user device and let the user choose images that they want to pick, similar to how the media. Selectphoto functions.

Any idea how to do that?

[TOPIC: post.html]
#23

kiteorca

[GLOBAL: userInfoPane.html]
kiteorca
  • Observer

  • 24 posts
  • Corona SDK

Anyone can help? At least a link to the old documentation could be useful.

[TOPIC: post.html]
#24

springmorning

[GLOBAL: userInfoPane.html]
springmorning
  • Contributor

  • 132 posts
  • Corona SDK

Hi scott, thanks for replying! I already checked that sample before, but it doesnt show me how to open the gallery on user device and let the user choose images that they want to pick, similar to how the media. Selectphoto functions.

Any idea how to do that?

I'm not sure about the latest version, but the plugin version I used did not have those features. It was meant as a way to have file access to the image gallery so I could create my own image picker.

 

Anyone can help? At least a link to the old documentation could be useful.

I might help you with this. I once hosted Stiven Deleur's site, including photolibplus' documentation. Let's wait a bit for Stiven's reply first, since he is owner of the data, but I might be able to recover the site from the backup. 



[TOPIC: post.html]
#25

kiteorca

[GLOBAL: userInfoPane.html]
kiteorca
  • Observer

  • 24 posts
  • Corona SDK

I'm not sure about the latest version, but the plugin version I used did not have those features. It was meant as a way to have file access to the image gallery so I could create my own image picker.

I might help you with this. I once hosted Stiven Deleur's site, including photolibplus' documentation. Let's wait a bit for Stiven's reply first, since he is owner of the data, but I might be able to recover the site from the backup.


Well, I think that will serves the same purpose as to what Im trying to achieve (having the user pick images from their phone gallery)

I dont think stiven is active around here anymore? I would really appreciate it if you could pm me the docs :)


[topic_controls]
Page 1 of 2 1 2
 
[/topic_controls]

Also tagged with one or more of these keywords: release, android, ios