Sha256: 2dffec32f97966af54c35f09aba69dafd6c2539be14ace2e8c9f324c245d7f7e

Contents?: true

Size: 749 Bytes

Versions: 10

Compression:

Stored size: 749 Bytes

Contents

# Introduction

# Usage

## Setup
   * ``gem "ruby_gallery", git: "git@github.com:dangluan/ruby_gallery.git", tag: "v0.2.4"`` in your gemfile
   * ``bundle``
   * ``rails g ruby_gallery:install``
   * ``rails g ruby_gallery MODEL``
  

      EX:

  ``rails g ruby_gallery user``
         
         
   * ``rake db:migrate``
   
   
## Add upload form for view 
  
    <%= show_gallery_images :OBJECT %>
       EX: 
         
         <%= show_gallery_images @user %>
         
## You can reorder images in box (default you can reorderable)
        You can set it to false 
         <%= show_gallery_images @user, {reorder: false} %>

## You can disable ``close link``
        
        <%= show_gallery_images @user, {reorder: false , close: false }

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
ruby_gallery-0.3.0.6 README.markdown
ruby_gallery-0.3.0.4 README.markdown
ruby_gallery-0.3.0.3 README.markdown
ruby_gallery-0.3.0.2 README.markdown
ruby_gallery-0.3.0.1 README.markdown
ruby_gallery-0.3.0 README.markdown
ruby_gallery-0.2.9 README.markdown
ruby_gallery-0.2.7 README.markdown
ruby_gallery-0.2.6 README.markdown
ruby_gallery-0.2.5 README.markdown