GithubHelp home page GithubHelp logo

jenlampton / colorbox Goto Github PK

View Code? Open in Web Editor NEW

This project forked from backdrop-contrib/colorbox

0.0 2.0 1.0 2.79 MB

A port of the Colorbox Drupal 7 module to BackdropCMS

License: GNU General Public License v2.0

PHP 35.93% JavaScript 52.18% CSS 11.54% HTML 0.35%

colorbox's Introduction

COLORBOX

A light-weight, customizable lightbox plugin for jQuery 1.4.3+. Iframed or inline images or content can be displayed in a popup or modal "lightbox" above the current page.

The Colorbox module:

  • Excellent integration with Image fields and Image styles
  • Choose between a default style and 5 example styles that are included.
  • Style the Colorbox with a custom colorbox.css file in your theme.

The Colorbox plugin:

  • Supports photos, grouping, slideshow, ajax, inline, and iframed content.
  • Appearance is controlled through CSS so it can be restyled.
  • Preloads upcoming images in a photo group.
  • Completely unobtrusive, options are set in the JS and require no changes to existing HTML.
  • Released under the MIT License.

Colorbox - http://www.jacklmoore.com/colorbox

Installation

  • Install this module using the official Backdrop CMS instructions at https://backdropcms.org/user-guide/modules

  • Configure your image fields or views to display images in colorboxes.

  • (Optional) Visit the configuration page under Administration > Configuration > Media > Colorbox (admin/config/media/colorbox) and configure as necessary.

Differences from Drupal

  • If you would like to use HTML tags in colorbox captions, you will need to enable the new setting Allow HTML in Colorbox captions. This configuration will use the DOMpurify library for sanitization. Please note: The DOMpurify library has several dependencies with security issues. It is unknown whether the colorbox use of DOMpurify could introduce a vulnerablity to your site. For this reason it is recommend to leave this setting disabled.
  • The Backdrop version of Colorbox module does not require that you download or install the Color library separately.
  • The Backdrop version of Colorbox module does not require that you download or install the DomPurify library separately.

Current Maintainers

Credits

Licenses

colorbox's People

Contributors

frjo avatar indigoxela avatar jenlampton avatar laryn avatar biolithic avatar serundeputy avatar paul-mckibben avatar

Watchers

 avatar James Cloos avatar

Forkers

graham-72

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.