Last active
December 22, 2015 11:09
-
-
Save maasdesigner/6464128 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CHANGE THIS show.html.erb | |
<% content_for :body_content_right do %> | |
<ul id='gallery'> | |
<% @page.images.each_with_index do |image, index| %> | |
<li> | |
<%= link_to image_tag(image.thumbnail("200x200#c").url), image.thumbnail("900x600").url %> | |
<span class='caption'><%=raw @page.caption_for_image_index(index) %></span> | |
</li> | |
<% end %> | |
</ul> | |
<% end %> | |
<%= render '/refinery/content_page', :hide_sections => :body_content_title %> | |
LIKE THIS | |
<ul class="lb-album"> | |
<li> | |
<a href="#image-01"> | |
<img src="1smal.jpg" alt="image01"> | |
<span>Dr. Bekir ÇELEBİ</span> </a> | |
<div class="lb-overlay" id="image-1"> | |
<a href="#page" class="lb-close"></a> | |
<img src="big10.jpg" alt="image01"/> | |
<div><h3> <span></span></h3></div></div></li> | |
</ul> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment