All Projects → exalted → Ptimagealbumviewcontroller

exalted / Ptimagealbumviewcontroller

"Image Album" — or "Photo Album" if you like that better — View( Controller) for all crazy iOS developers out there...

Projects that are alternatives of or similar to Ptimagealbumviewcontroller

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 (+98.49%)
Mutual labels:  library, image, photo, gallery, album
Imageviewer.swift
An easy to use Image Viewer that is inspired by Facebook
Stars: ✭ 1,071 (+438.19%)
Mutual labels:  library, image, photo, gallery
Kiimagepager
The KIImagePager is inspired by foursquare's ImageSlideshow, the user may scroll through images loaded from the Web
Stars: ✭ 324 (+62.81%)
Mutual labels:  library, image, gallery
Stfalconimageviewer
A simple and customizable Android full-screen image viewer with shared image transition support, "pinch to zoom" and "swipe to dismiss" gestures
Stars: ✭ 1,734 (+771.36%)
Mutual labels:  image, photo, gallery
Album
🍉 Album and Gallery for Android platform.
Stars: ✭ 2,430 (+1121.11%)
Mutual labels:  image, gallery, album
Ypimagepicker
📸 Instagram-like image picker & filters for iOS
Stars: ✭ 3,661 (+1739.7%)
Mutual labels:  library, photo, gallery
Rxgalleryfinal
图片选择库,单选/多选、拍照、裁剪、压缩,自定义。包括视频选择和录制。
Stars: ✭ 2,798 (+1306.03%)
Mutual labels:  image, photo, gallery
Louvre
A small customizable library useful to handle an gallery image pick action built-in your app. 🌄🌠
Stars: ✭ 629 (+216.08%)
Mutual labels:  library, image, gallery
Telegramgallery
world level Gallery , from Telegram,Photo album selector,QQ style
Stars: ✭ 1,294 (+550.25%)
Mutual labels:  photo, gallery, album
Isobmff
C++ Library for ISO/IEC 14496-12 - ISO Base Media File Format (QuickTime, MPEG-4, HEIF, etc)
Stars: ✭ 157 (-21.11%)
Mutual labels:  library, image
Zgallery
Android 3rd party library to make implementing galleries more easier
Stars: ✭ 160 (-19.6%)
Mutual labels:  library, gallery
Gallery shell
📷 Bash Script to generate static responsive image web galleries.
Stars: ✭ 198 (-0.5%)
Mutual labels:  photo, gallery
Imageviewer
A simple and customizable Android full-screen image viewer 一个简单且可自定义的Android全屏图像浏览器
Stars: ✭ 1,889 (+849.25%)
Mutual labels:  image, gallery
Media Watermark
GPU/CPU-based iOS Watermark Library for Image and Video Overlay
Stars: ✭ 170 (-14.57%)
Mutual labels:  library, image
Ucrop
Image Cropping Library for Android
Stars: ✭ 11,003 (+5429.15%)
Mutual labels:  image, photo
Croperino
📷 A simple image cropping tool that provides gallery or camera help for Native Android (Java)
Stars: ✭ 176 (-11.56%)
Mutual labels:  image, gallery
Hxphotopicker
图片/视频选择器 - 支持LivePhoto、GIF图片选择、3DTouch预览、在线下载iCloud上的资源、编辑图片/视频、浏览网络图片 功能 Imitation wx photo/image picker - support for LivePhoto, GIF image selection, 3DTouch preview, Download the resources on iCloud online, browse the web image function
Stars: ✭ 2,363 (+1087.44%)
Mutual labels:  image, photo
Xzoom
jQuery Zoom Gallery plugin
Stars: ✭ 120 (-39.7%)
Mutual labels:  image, gallery
React Native Image Marker
Add text or icon watermark to your images
Stars: ✭ 170 (-14.57%)
Mutual labels:  image, photo
Recent Images
Do you noticed the new feature of Telegram or Instagram?! They show your latest images when you try to attach or post a picture. So I developed this library the same with lots of customization. Simple way to get all images of device based on date taken, name, id and other customization
Stars: ✭ 182 (-8.54%)
Mutual labels:  image, gallery

How To Get

1. Install dependency: Nimbus

If your project uses CocoaPods to manage its dependencies, easiest way to do it is to add the following in your Podfile:

pod 'Nimbus/Photos', :podspec => 'https://gist.github.com/exalted/7655606/raw/ce27220c457984ecd30fb800503b4c299159ace0/Nimbus.podspec'

2. Copy PTImageAlbumViewController directory into your own project

Instead of manually downloading files, you could use git submodules:

git submodule add https://github.com/exalted/PTImageAlbumViewController.git

3. #import headers

#import <Nimbus/NimbusCore.h>
#import <Nimbus/NimbusPhotos.h>

4. Build & run

If you have trouble, check out AlbumDemo project in Examples directory for a working example.

Screenshots

A nice image scrubber, just like in Photos.app by Apple on the iPad.

A nice image scrubber, just like in Photos.app by Apple on the iPad. A nice image scrubber, just like in Photos.app by Apple on the iPad.

One tap on the screen and all the chrome goes away!

One tap on the screen and all the chrome goes away! One tap on the screen and all the chrome goes away!

Double tap to fit to screen by zooming in...

Double tap to fit to screen by zooming in... Double tap to fit to screen by zooming in...

Flip from one image to another with multi–touch gestures you already know and love.

Flip from one image to another with multi–touch gestures you already know and love. Flip from one image to another with multi–touch gestures you already know and love.

Pinch to zoom in and out to take a much closer look.

Pinch to zoom in and out to take a much closer look. Pinch to zoom in and out to take a much closer look.

Sample Code

  1. Create a new subclass of PTImageAlbumViewController, say YourAwesomeViewController
  2. Implement PTImageAlbumViewDataSource
  • Number of images
  • Path or URL for each of'em (high–definition and thumbnail)
  • Size (width & height) for high–definition images
// YourAwesomeViewController.h

#import "PTImageAlbumViewController.h"

@interface YourAwesomeViewController : PTImageAlbumViewController

// ...

@end
// YourAwesomeViewController.m

#import "YourAwesomeViewController.h"

@implementation YourAwesomeViewController

//...

#pragma mark - PTImageAlbumViewDataSource

- (NSInteger)numberOfImagesInAlbumView:(PTImageAlbumView *)imageAlbumView {
    #warning missing implementation
}

- (NSString *)imageAlbumView:(PTImageAlbumView *)imageAlbumView sourceForImageAtIndex:(NSInteger)index {
    #warning missing implementation
}

- (CGSize)imageAlbumView:(PTImageAlbumView *)imageAlbumView sizeForImageAtIndex:(NSInteger)index {
    #warning missing implementation
}

- (NSString *)imageAlbumView:(PTImageAlbumView *)imageAlbumView sourceForThumbnailImageAtIndex:(NSInteger)index {
    #warning missing implementation
}

//...

@end

How To Contribute

This project uses CocoaPods to manage dependencies. Installing it is as easy as running the following commands in the terminal:

sudo gem install cocoapods

If you have any trouble during the installation, please read CocoaPods documentation.

When you've installed CocoaPods, then:

git clone https://github.com/exalted/PTImageAlbumViewController.git PTImageAlbumViewController-exalted
cd PTImageAlbumViewController-exalted/Examples/AlbumDemo/
pod install
open AlbumDemo.xcworkspace
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].