DEV Community

Cover image for Oiii! JS - images and videos viewer for your site
Evgeny
Evgeny

Posted on

4 4

Oiii! JS - images and videos viewer for your site

Oiii! JS is a small and lightweight library that allows you in semi-automatic mode to add a beautiful modal window for viewing images and YouTube videos in just 1 minute.

And as it is alternative to LightBox (created by Lokesh Dhakar) and as I say small and lightweight (15 times!), it is use 0 dependencies (no jQuery) and support all latest modern browsers.

Current features:

  • open images
  • open videos
  • support thumb, preview and original links to images
  • allows you to open video at youtube and image as original in new tab

Small demo in gif:

more demos at project page

Preview

How I can use it?

All instructions available at:

Also library can be used without building, just through jsDelivr.

Updates and features

Updates coming as I have time.
Anyone can request new feature using PR at GitHub (but I will think about it).
Roadmap with feature updates here:

Thank you for reading this! I hope it will useful library for you.

Sentry blog image

How I fixed 20 seconds of lag for every user in just 20 minutes.

Our AI agent was running 10-20 seconds slower than it should, impacting both our own developers and our early adopters. See how I used Sentry Profiling to fix it in record time.

Read more

Top comments (0)

Qodo Takeover

Introducing Qodo Gen 1.0: Transform Your Workflow with Agentic AI

Rather than just generating snippets, our agents understand your entire project context, can make decisions, use tools, and carry out tasks autonomously.

Read full post