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

ecm_pictures

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ecm_pictures

  • 2.1.0.pre
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

= Ecm::Pictures

= Purpose

Create and administrate picture galleries in active admin and display them on in your ruby on rails applictation. Orangebox is used for lightbox support.

= Features

  • Drop in module for active admin.
  • Render a gallery with one method call in your views.
  • Lightbox support.
  • Picture and Gallery sorting.

= Installation

Add it to your gemfile:

Gemfile

gem 'ecm_pictures'

Install your bundle:

bundle install

Generate initializer:

rails generate ecm:pictures:install

Generatre the migrations:

rake ecm_pictures_engine:install:migrations

Migrate:

rake db:migrate

== Optional: Generate locale files

You may want to copy the locales to your app:

rails generate ecm:pictures:locales

= Usage

You can administrate your pictures and picture galleries in active admin.

Once you have a gallery, you can display it like this:

<%= render_picture_gallery 'Holidays 2012' %>

= Todo

  • Tests, tests, tests.
  • Better docs.
  • Render picture helpers.
  • Add a published flag to galleries and pictures.

= License

This project rocks and uses MIT-LICENSE.

FAQs

Package last updated on 05 Jul 2015

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