All Projects → tizisdeepan → Gallerypicker

tizisdeepan / Gallerypicker

Gallery Picker allows you to design a custom gallery for image/ video picker in your android projects.

Programming Languages

java
68154 projects - #9 most used programming language
kotlin
9241 projects

Projects that are alternatives of or similar to Gallerypicker

Android Image Picker
Image Picker for Android 🤖
Stars: ✭ 847 (+1014.47%)
Mutual labels:  gallery, image-picker
Abra
Your next favorite image and video picker from Gallery for Swift
Stars: ✭ 19 (-75%)
Mutual labels:  gallery, image-picker
Ios Nbuimagepicker
Modular image picker with Simulator-compatible AVFondation camera, assets library, filters and more.
Stars: ✭ 196 (+157.89%)
Mutual labels:  gallery, image-picker
Ypimagepicker
📸 Instagram-like image picker & filters for iOS
Stars: ✭ 3,661 (+4717.11%)
Mutual labels:  gallery, image-picker
ProPicker
ProPicker is a file picker (image, video, file) library for Android. It helps you to pick any file and return the result in a convenient way
Stars: ✭ 25 (-67.11%)
Mutual labels:  gallery, image-picker
Insgallery
📸 Instagram-like image picker for Android (一款 UI 炫酷高仿 Instagram 的图片、视频选择器)
Stars: ✭ 409 (+438.16%)
Mutual labels:  gallery, image-picker
Django Starcross Gallery
Django Gallery app with justified image layout, infinite scrolling and drag & drop support
Stars: ✭ 28 (-63.16%)
Mutual labels:  gallery
Filemanager Ui
It is the graphical user interface File Manager, regardless of the backend, lets you work with PHP, Python, nodejs or another.
Stars: ✭ 44 (-42.11%)
Mutual labels:  gallery
React Native Image Picker
🌄 A React Native module that allows you to use native UI to select media from the device library or directly from the camera.
Stars: ✭ 7,431 (+9677.63%)
Mutual labels:  image-picker
Lychee
A great looking and easy-to-use photo-management-system you can run on your server, to manage and share photos.
Stars: ✭ 816 (+973.68%)
Mutual labels:  gallery
Angular Photoswipe
An angular directive for PhotoSwipe image gallery
Stars: ✭ 74 (-2.63%)
Mutual labels:  gallery
Wear Gallery
maybe the best gallery on watch (WearOS/Ticwear)
Stars: ✭ 60 (-21.05%)
Mutual labels:  gallery
Weex Image Crop Picker
iOS/Android image picker with support for camera, configurable compression, multiple images and cropping porting from
Stars: ✭ 42 (-44.74%)
Mutual labels:  image-picker
Collectionviewpaginglayout
a simple but highly customizable paging layout for UICollectionView.
Stars: ✭ 947 (+1146.05%)
Mutual labels:  gallery
Imageviewer.swift
An easy to use Image Viewer that is inspired by Facebook
Stars: ✭ 1,071 (+1309.21%)
Mutual labels:  gallery
Bsimagepicker
A multiple image picker for iOS
Stars: ✭ 1,171 (+1440.79%)
Mutual labels:  image-picker
Gallery
图片缩放以及相册的实现
Stars: ✭ 24 (-68.42%)
Mutual labels:  gallery
Yimagepicker
小红书多图剪裁+微信图片选择器+大图预览+图片剪裁(支持圆形剪裁和镂空剪裁),已适配androidQ,借鉴并升级matisse加载内核!超强定制性可轻松实现知乎/马蜂窝/微博等特殊样式!支持跨进程回调!内部结构轻量级,无任何第三方开源库!支持support依赖!
Stars: ✭ 975 (+1182.89%)
Mutual labels:  gallery
Flickr Set Get
A simple command line app to download photos from a flickr set
Stars: ✭ 57 (-25%)
Mutual labels:  gallery
React Upload Gallery
React for Upload Image Gallery. Drag & Drop, Sortable, Customize.
Stars: ✭ 33 (-56.58%)
Mutual labels:  gallery

Gallery Picker

License

What is Gallery Picker?

Gallery Picker allows you to design a custom gallery for image/ video picker in your android projects. You can also use the in-built cutom fragment developed with the help of the utility methods provided in the library. The utility methods include fetching data from the android's media store efficiently and album separations.

Screenshot 2

Implementation

[1] In your app module gradle file

dependencies {
    implementation 'com.github.tizisdeepan:gallerypicker:1.0.1'
}

[2] In your project level gradle file

allprojects {
    repositories {
        maven { url 'https://jitpack.io' }
    }
}

[3] In your manifest.xml

<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.CAMERA"/>

NOTE: Make sure to implement run time permissions request in your app.

[4] In your project, you can start PickerActivity by adding this line

startActivity(Intent(this@MainActivity, PickerActivity::class.java))

[5] You can define Picker Limits via your Intent

val i = Intent(this@MainActivity, PickerActivity::class.java)
i.putExtra("IMAGES_LIMIT", 7) // Allows you to pick 7 images
i.putExtra("VIDEOS_LIMIT", 7) // Allows you to pick 7 videos
startActivity(i)

[6] If you don't want to use the PickerActivity, you this to fetch Photos and Videos

val images = GalleryPicker(context).getImages()
val videos = GalleryPicker(context).getVideos()
Log.e("RESULT", "IMAGES COUNT: ${images.size}\nVIDEOS COUNT: ${videos.size}")

Documentation

GalleryImage Model

Property Description
ID [String] Unique Identifier for the image
DATA [String] Uri of the image
DATE_ADDED [Long] Date (timeInMillis) of when the image has been Added
DATE_MODIFIED [Long] Date (timeInMillis) of when the image has been Last Modified
DATE_TAKEN [Long] Date (timeInMillis) of when the image has been Captured
DISPLAY_NAME [String] Name of the image
HEIGHT [String] Height of the image in pixels
WIDTH [String] Width of the image in pixels
MIME_TYPE [String] Mime Type of the image
SIZE [String] Size of the image in bytes
TITLE [String] Title of the Image
BUCKET_DISPLAY_NAME [String] Bucket Name of the image in Media Store
BUCKET_ID [String] Bucket ID of the image in Media Store
DESCRIPTION [String] Decription of the image
IS_PRIVATE [String] Tells whether the image is in Private Directory or not
LATITUDE [String] Location coordinates - Latitude
LONGITUDE [String] Location coordinates - Longitude
MINI_THUMB_MAGIC [String] Mini Thumb Magic property from Media Store
ORIENTATION [String] Orientation type - Exif property
PICASA_ID [String] Picasa ID property from Media Store
ALBUM_NAME [String] Name of the Album in which the image is present

GalleryVideo Model

Property Description
ID [String] Unique Identifier for the video
DATA [String] Uri of the video
DATE_ADDED [Long] Date (timeInMillis) of when the video has been Added
DATE_MODIFIED [Long] Date (timeInMillis) of when the video has been Last Modified
DATE_TAKEN [Long] Date (timeInMillis) of when the video has been Captured
DISPLAY_NAME [String] Name of the video
HEIGHT [String] Height of the video in pixels
WIDTH [String] Width of the video in pixels
MIME_TYPE [String] Mime Type of the video
SIZE [String] Size of the video in bytes
TITLE [String] Title of the video
ALBUM [String] Album Name of the video in Media Store
ARTIST [String] Artist Name of the video in Media Store
BOOKMARK [String] Bookmark of the video in Media Store
BUCKET_DISPLAY_NAME [String] Bucket Name of the video in Media Store
BUCKET_ID [String] Bucket ID of the video in Media Store
CATEGORY [String] Category of the video
DESCRIPTION [String] Description of the video
DURATION [String] Duration of the video in milli seconds
IS_PRIVATE [String] Tells whether the video is in Private Directory or not
LANGUAGE [String] Language of the video
LATITUDE [String] Location coordinates - Latitude
LONGITUDE [String] Location coordinates - Longitude
MINI_THUMB_MAGIC [String] Mini Thumb Magic property from Media Store
RESOLUTION [String] Resolution of the video
TAGS [String] Tags property from Media Store
ALBUM_NAME [String] Name of the Album in which the video is present

Developed By

Follow me on Twitter Add me to Linkedin
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].