hyperoslo/Lightbox sits at 1.7k stars on GitHub, written primarily in Swift. :milky_way: A convenient and easy to use image viewer for your iOS app
Snapshot summary built from the project's own GitHub metadata — there's no written TopGit review yet. The page will update automatically when a full review is published.
WHY NO REVIEW YET
TopGit writes full reviews for the most-starred, most-requested repositories. This page is a snapshot until then — see the READ ME tab for the original README in full.
Lightbox is a convenient and easy to use image viewer for your iOS app,
packed with all the features you expect:
Paginated image slideshow.
Video support.
Double-tap to zoom.
Image caption.
Dynamic background based on Hue
Remote image loading and caching based on Imaginary
Interactive transition animations.
Powerful configuration.
Live Demo
Table of Contents
Usage
Controller
Delegates
Image loading
Video
Configuration
Installation
Author
Contributing
License
Usage
Controller
To start your slideshow just instantiate LightboxController, set needed
delegates and present it:
// Create an array of images.
let images = [
LightboxImage(imageURL: URL(string: "https://cdn.arstechnica.net/2011/10/05/iphone4s_sample_apple-4e8c706-intro.jpg")!),
LightboxImage(
image: UIImage(named: "photo1")!,
text: "This is an example of a remote image loaded from URL"
),
LightboxImage(
image: UIImage(named: "photo2")!,
text: "",
videoURL: URL(string: "https://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4")
),
LightboxImage(
image: UIImage(named: "photo3")!,
text: "This is an example of a local image."
)
]
// Create an instance of LightboxController.
let controller = LightboxController(images: images)
// Set delegates.
controller.pageDelegate = self
controller.dismissalDelegate = self
// Use dynamic background.
controller.dynamicBackground = true
// Present your controller.
present(controller, animated: true, completion: nil)
Delegates
Use LightboxControllerPageDelegate if you want to be notified about page
navigation changes.
Use LightboxControllerDismissalDelegate to be notified when controller is
about to be dismissed. Please note that LightboxController dismisses itself
if it was presented initially.
The most recent commit recorded on hyperoslo/Lightbox was 2.0 years ago, based on the GitHub push timestamp. The repository has 333 forks — one of the better signals of community interest.
Is hyperoslo/Lightbox open source?
TopGit's metadata for hyperoslo/Lightbox does not record a license. Most public repositories on GitHub ARE open source, but the exact terms vary — verify by opening the LICENSE file directly.
What topics is hyperoslo/Lightbox associated with?
GitHub's repository topics for hyperoslo/Lightbox: "image", "ios", "lightbox", "presentation", "swift". TopGit's editorial category is Mobile.
Where can I see hyperoslo/Lightbox in action?
The project maintains a homepage at https://www.hyper.no. The README tab on this page also usually contains screenshots and a quickstart.
Where do I read more about hyperoslo/Lightbox?
This TopGit page is a snapshot — the READ ME tab shows the project's own README content (links stripped, images preserved). The GitHub repository at github.com/hyperoslo/Lightbox is the definitive source.
Read full README in the tab above.
Curious whether Lightbox is right for you?
Let ChatGPT, Claude, or Perplexity look into it — click below and see what AI actually says about Lightbox.