Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

splendeo-lightbox2_helpers

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

splendeo-lightbox2_helpers

  • 0.6.2
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

=lightbox2_helpers

This package contains helpers that allows the usage of http://www.huddletogether.com/projects/lightbox2/ directly on your rails projects.

Version of lightbox2 used: v2.04

==Usage Copy these two lines inside the head section of your layout file / view <%= javascript_include_tag :defaults %> <%= lightbox2_helpers_includes %>

You can use link_to_lightbox2 from then on.

Easy example: <% link_to_lightbox2 "See picture", @picture, :group => picture.gallery_id, :title => picture.title %>

Example with a block <% link_to_lightbox2 @picture.path, :group => gallery.name, :title => picture.caption do %> <%=image_tag @picture.thumbnail_path %> <% end %>

==Installation

===As a gem Copy this on config/environment.erb, inside the gems section config.gem "splendeo-lightbox2_helpers", :lib => 'lightbox2_helpers', :source => "http://gems.github.com" Then execute rake gems:install

===As a plug-in I actually haven't tried this, sorry I don't know how to do it.

FAQs

Package last updated on 10 Aug 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc