Sha256: 83ed4ac37e8626d3b7679d109e69d7e95de94ba991f562cb0577f1c5d0ec012b

Contents?: true

Size: 912 Bytes

Versions: 50

Compression:

Stored size: 912 Bytes

Contents

<%= div_for picture, :class => 'content_size' do %>
  <div class="picture_show">
    <%= link_to image_tag_for(picture),
        download_document_path(picture),
        :id => dom_id(picture) + "_a",
        :type => picture.type, 
		    :title => picture.file_file_name,
		    :path => document_path(picture) %>
  </div>
<% end %>


<%= javascript_tag do %>
  $(document).ready(function() {
    $("#<%= dom_id picture %> #<%= dom_id picture %>_img").aeImageResize({ height: 500, width: 500 });
    $("#<%= dom_id picture %> #<%= dom_id picture %>_a").lightBox({ 
      maxHeight: 920,
      maxWidth: 920,
      imageLoading: '../assets/lightbox-ico-loading.gif',
      imageBtnClose: '../assets/lightbox-btn-close.gif',
      imageBtnPrev: '../assets/lightbox-btn-prev.gif',
      imageBtnNext: '../assets/lightbox-btn-next.gif',
      imageBlank: '../assets/lightbox-blank.gif'});    
      
  })  
<% end %>

Version data entries

50 entries across 50 versions & 4 rubygems

Version Path
vkhater-social_stream-0.16.3.3 documents/app/views/pictures/_picture_show.html.erb
vkhater-social_stream-documents-0.6.1 app/views/pictures/_picture_show.html.erb
social_stream-0.17.1 documents/app/views/pictures/_picture_show.html.erb
social_stream-0.17.0 documents/app/views/pictures/_picture_show.html.erb
social_stream-documents-0.7.0 app/views/pictures/_picture_show.html.erb
social_stream-0.16.3 documents/app/views/pictures/_picture_show.html.erb
social_stream-0.16.2 documents/app/views/pictures/_picture_show.html.erb
social_stream-documents-0.6.1 app/views/pictures/_picture_show.html.erb
social_stream-0.16.1 documents/app/views/pictures/_picture_show.html.erb
social_stream-documents-0.6.0 app/views/pictures/_picture_show.html.erb
social_stream-0.15.8 documents/app/views/pictures/_picture_show.html.erb
social_stream-0.15.7 documents/app/views/pictures/_picture_show.html.erb
social_stream-0.15.6 documents/app/views/pictures/_picture_show.html.erb
social_stream-0.15.5 documents/app/views/pictures/_picture_show.html.erb
social_stream-0.15.4 documents/app/views/pictures/_picture_show.html.erb
social_stream-0.15.1 documents/app/views/pictures/_picture_show.html.erb
social_stream-documents-0.5.2 app/views/pictures/_picture_show.html.erb
social_stream-0.15.0 documents/app/views/pictures/_picture_show.html.erb
social_stream-documents-0.5.1 app/views/pictures/_picture_show.html.erb
social_stream-0.14.1 documents/app/views/pictures/_picture_show.html.erb