Photo Lib Plus

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

no ios :frowning:

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

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.

Did you activate the plugin in the store?

Hi Rob, yes I did.

The problem appeared to be a typo in the docs.

However, it appeared that I hadn’t activated it after all… :wink:

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.

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

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!  :slight_smile:

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

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

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

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

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

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

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

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

https://scottrules44.com/files/functions

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

Hello!

The docs are back up, thanks for your patience.

Stiven

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.

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.