All Projects → huzhenjie → Imageselector

huzhenjie / Imageselector

图片选择器, 支持多图选择和图片预览

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Imageselector

Exiftool Vendored.js
Fast, cross-platform Node.js access to ExifTool
Stars: ✭ 200 (+222.58%)
Mutual labels:  image, photos, photo
Flutter photo
Pick image/video from album by flutter. Support ios and android. UI by flutter, no native.
Stars: ✭ 285 (+359.68%)
Mutual labels:  image, photos, photo
Flutter photo manager
Provide flutter with the ability to manage photos.
Stars: ✭ 294 (+374.19%)
Mutual labels:  image, photos, photo
Resizer
An image resizing library for Android
Stars: ✭ 406 (+554.84%)
Mutual labels:  image, photo
Ptshowcaseviewcontroller
An initial implementation of a "showcase" view( controller) for iOS apps... Visualizes images, videos and PDF files beautifully! (by @pittleorg) [meta: image, photo, video, document, pdf, album, gallery, showcase, gallery, iOS, iPhone, iPad, component, library, viewer]
Stars: ✭ 395 (+537.1%)
Mutual labels:  image, photo
Tui.image Editor
🍞🎨 Full-featured photo image editor using canvas. It is really easy, and it comes with great filters.
Stars: ✭ 4,761 (+7579.03%)
Mutual labels:  image, photo
Fdtake
Easily take a photo or video or choose from library
Stars: ✭ 314 (+406.45%)
Mutual labels:  image, photo
React Viewer
react image viewer, supports rotation, scale, zoom and so on
Stars: ✭ 502 (+709.68%)
Mutual labels:  image, photos
Fmphotopicker
A modern, simple and zero-dependency photo picker with an elegant and customizable image editor
Stars: ✭ 428 (+590.32%)
Mutual labels:  image, photos
Mrthumb
【拇指先生】 a simple easy video thumbnail provider,顺滑的获取视频缩略图,支持本地和网络视频,有问题大胆提Issues
Stars: ✭ 60 (-3.23%)
Mutual labels:  image, photo
Lpalbum
an albums that can preview, multiple-choice
Stars: ✭ 17 (-72.58%)
Mutual labels:  photos, photo
React Image Magnify
A responsive image zoom component designed for shopping sites.
Stars: ✭ 391 (+530.65%)
Mutual labels:  image, photo
Tkimageview
An easy way to crop an image.
Stars: ✭ 342 (+451.61%)
Mutual labels:  image, photo
Imageviewer.swift
An easy to use Image Viewer that is inspired by Facebook
Stars: ✭ 1,071 (+1627.42%)
Mutual labels:  image, photo
Assetspickerviewcontroller
Powerfully Customizable - Multiple Photo & Video Picker Controller
Stars: ✭ 321 (+417.74%)
Mutual labels:  image, photo
Imagestore
Open source google photos alternative!
Stars: ✭ 429 (+591.94%)
Mutual labels:  photos, photo
Flutter image cropper
A Flutter plugin for Android and iOS supports cropping images
Stars: ✭ 723 (+1066.13%)
Mutual labels:  image, photo
Flickrsync
A command line tool to synchronise, upload, download, pictures between the local file system and Flickr. Image hash signature of the picture is used to uniquely identify the image.
Stars: ✭ 14 (-77.42%)
Mutual labels:  image, photos
Dreampower
DeepNude with DreamNet improvements.
Stars: ✭ 287 (+362.9%)
Mutual labels:  photos, photo
Color.js
Extract colors from an image (0.75 KB) 🎨
Stars: ✭ 42 (-32.26%)
Mutual labels:  image, photo

ImageSelector


图片选择器, 支持多图选择和图片预览等功能。

  1. 支持jitpack
  2. 支持选择多张
  3. 支持选择图片数量上限
  4. 支持图片选择顺序
  5. 支持图片预览

Screenshots & Gifs


How to

Step 1. Add the JitPack repository to your build file

Add it in your root build.gradle at the end of repositories:

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

Step 2. Add the dependency

dependencies {
    compile 'com.github.huzhenjie:ImageSelector:1.0.3'
}

Step 3.

Call select image in your code

private static final int REQUEST_CODE_SELECT_IMG = 1;

...
ImageSelector.show(this, REQUEST_CODE_SELECT_IMG);
...

And override the method onActivityResult to get the results

@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
    if (requestCode == REQUEST_CODE_SELECT_IMG) {
        List<String> yourSelectImgPaths = ImageSelector.getImagePaths(data);
        Log.d("imgSelector", "paths: " + yourSelectImgPaths);
        return;
    }
    
    super.onActivityResult(requestCode, resultCode, data);
}
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].