All Projects → OpenSooq → Abra

OpenSooq / Abra

Licence: other
Your next favorite image and video picker from Gallery for Swift

Programming Languages

swift
15916 projects
ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to Abra

Ypimagepicker
📸 Instagram-like image picker & filters for iOS
Stars: ✭ 3,661 (+19168.42%)
Mutual labels:  gallery, image-picker
Gallerypicker
Gallery Picker allows you to design a custom gallery for image/ video picker in your android projects.
Stars: ✭ 76 (+300%)
Mutual labels:  gallery, image-picker
Insgallery
📸 Instagram-like image picker for Android (一款 UI 炫酷高仿 Instagram 的图片、视频选择器)
Stars: ✭ 409 (+2052.63%)
Mutual labels:  gallery, image-picker
Ios Nbuimagepicker
Modular image picker with Simulator-compatible AVFondation camera, assets library, filters and more.
Stars: ✭ 196 (+931.58%)
Mutual labels:  gallery, image-picker
Android Image Picker
Image Picker for Android 🤖
Stars: ✭ 847 (+4357.89%)
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 (+31.58%)
Mutual labels:  gallery, image-picker
horcrux
Generate you own online gallery easily. Photo is the horcrux of memory.
Stars: ✭ 34 (+78.95%)
Mutual labels:  gallery
ngx-image-gallery
Probably the best Angular 4+ modal and inline image gallery. Angular upgrade for ng-image-gallery.
Stars: ✭ 80 (+321.05%)
Mutual labels:  gallery
visual-portfolio
Portfolio layouts visual editor with Gutenberg support
Stars: ✭ 31 (+63.16%)
Mutual labels:  gallery
RecyclerViewCardGallery
RecyclerView实现循环banner,替代ViewPager方案。能够快速滑动并最终定位到居中位置(相比于原库支持了循环滑动)
Stars: ✭ 610 (+3110.53%)
Mutual labels:  gallery
image-uploader
Simple Drag & Drop image uploader plugin to static forms, without using AJAX
Stars: ✭ 70 (+268.42%)
Mutual labels:  gallery
previewSlider
Responsive fullscreen image slider where the users are able to preview next/previous image when hovering over the navigation arrows.
Stars: ✭ 16 (-15.79%)
Mutual labels:  gallery
angular-super-gallery
AngularJS super image gallery
Stars: ✭ 46 (+142.11%)
Mutual labels:  gallery
Generative-Art-Sketches
A Generative Art Gallery with the idea of creating a virtual Art Gallery with my creations. I have tried my hands on creating some visually appealing art using Cellular Automata, Recursive Grammar, Phyllotaxis, Sandpiles, Perlin Noise, IFS, Tiling.
Stars: ✭ 24 (+26.32%)
Mutual labels:  gallery
Album
android 图片视频加载库,单选,多选,预览,自定义UI,相机,裁剪...等等 已适配android10,11
Stars: ✭ 53 (+178.95%)
Mutual labels:  gallery
ChatViewController
💬 ChatViewController, ChatBar, ImagePicker like Slack Application. Message App written in Swift
Stars: ✭ 47 (+147.37%)
Mutual labels:  image-picker
napari.github.io
website for the napari image viewer
Stars: ✭ 43 (+126.32%)
Mutual labels:  gallery
react-nft-gallery
🖼️ React component to display your NFTs as a gallery
Stars: ✭ 50 (+163.16%)
Mutual labels:  gallery
gatsby-theme-gallery
🏞 A Gatsby Theme for adding a gallery to your site.
Stars: ✭ 40 (+110.53%)
Mutual labels:  gallery
ImageAttachment
Example App to show how to pick an image from Camera/Gallery
Stars: ✭ 23 (+21.05%)
Mutual labels:  gallery

Gallery Banner

AbraGallery is a small library for images & videos picking. It provides video recording too.

Usage

GalleryController is the main entry point, just instantiate and set the delegate:

let gallery = GalleryController()
gallery.delegate2 = self
present(gallery, animated: true, completion: nil)

Delegate

The GalleryControllerDelegate2 requires you to implement some delegate methods in order to interact with the GalleryController

public protocol GalleryControllerDelegate2: class {
  func galleryController(_ controller: GalleryController, requestLightbox images: [UIImage])
  func galleryControllerDidCancel(_ controller: GalleryController)
  func galleryController(_ controller: GalleryController, didSelectAssets assets: [PHAsset])
}

Permission

Gallery handles permissions for you. It checks and askes for photo and camera usage permissions at first launch. As of iOS 10, we need to explicitly declare usage descriptions in plist files

<key>NSCameraUsageDescription</key>
<string>This app requires access to camera</string>
<key>NSPhotoLibraryUsageDescription</key>
<string>This app requires access to photo library</string>

You may disable permissions flow by the config Gallery.Config.Permission.shouldCheckPermission = false

Configuration

There are lots of customization points in Config structs. For example

Config.Permission.image = UIImage(named: ImageList.Gallery.cameraIcon)
Config.Font.Text.bold = UIFont(name: FontList.OpenSans.bold, size: 14)!
Config.Camera.recordLocation = true
Config.Camera.recordMode = .video                  // to enable video recording.
Config.VideoRecording.maxBytesCount = 1024         // to set the maximum size of video.
Config.VideoRecording.maxLengthInSeconds = .video  // to set the max length of video.
Config.Selection.mode = [.photo, .camera, .video]  // to enable/disable Photo, Camera and Video tabs.
Config.SessionPreset.quality = AVCaptureSessionPresetHigh // to define the quality of recorded video.

... and many many more at Config file.

Installation

AbraGallery is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'AbraGallery'

AbraGallery can also be installed manually. Just download and drop Sources folders in your project.

Author & Contact

OpenSooq, [email protected], [email protected]

Abra Gallery is build at the top of Gallery project.

Contributing

We would love you to contribute to AbraGallery, check the CONTRIBUTING file for more info.

License

AbraGallery is available under the MIT license. See the LICENSE file for more info.

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