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
<% 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, id: 'image-id') %> | |
<div class="lb-overlay" id="image-id"> | |
<%= image_tag image.thumbnail("900x600").url, id: 'image-id'%> | |
<span class='caption'><%=raw @page.caption_for_image_index(index) %></span> | |
</div> </li> |
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 %> |
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
here small images | |
<ul class="lb-album"> | |
<li> | |
<a href="#image-31"> | |
<%= image_tag "10smal.jpg", alt: "image031"%> | |
<span>Dr. Bekir ÇELEBİ</span> </a> | |
HERE STYLE FOR BIG IMAGES |
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
NoMethodError in Refinery/pages#show | |
Showing /home/maasdesigner/Desktop/metroson/app/views/refinery/pages/show.html.erb where line #6 raised: | |
undefined method `large' for #<Refinery::Image:0xc879ab8> | |
Extracted source (around line #6): | |
3: <ul id='gallery'> | |
4: <% @page.images.each_with_index do |image, index| %> |
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
<% content_for :body_content_right do %> | |
<ul class='lb-album'> | |
<% @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 %> |
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
<% 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> |
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
<li> | |
<%= link_to image_tag(image.thumbnail("200x200#c").url, { id: 'image-01' }) %> | |
<div class="lb-overlay" id="image<%= image.thumbnail("200x200#c").url %>"> | |
<%= image_tag image.thumbnail("900x600").url %> | |
<span class='caption'><%=raw @page.caption_for_image_index(index) %></span> | |
</div> | |
</li> |
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
<ul class='lb-album'> | |
<% @page.images.each do |image| %> | |
<li> | |
<%= link_to image_tag(image.thumbnail("200x200#c").url) %> | |
<div class="lb-overlay" id="id<%= 'image.thumbnail.url' %>"> |
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
NoMethodError in Refinery/pages#show | |
Showing /home/maasdesigner/Desktop/metroson/app/views/refinery/photo_gallery/albums/_photos.html.erb where line #10 raised: | |
undefined method `preview_link' for #<Refinery::PhotoGallery::Photo:0x9e2c580> | |
Extracted source (around line #10): | |
7: <ul id="gallery" class="clearfix"> | |
8: <% photos_for_page.each_with_index do |photo, index| %> |
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
<ul id="gallery" class="clearfix"> | |
<% photos_for_page.each_with_index do |photo, index| %> | |
<li> | |
<%= link_to (image_tag photo.preview_link(:album), :width => Refinery::PhotoGallery.album_dimensions[0], :height => Refinery::PhotoGallery.album_dimensions[1] ), photo.link_url, { | |
:target=> "_blank", | |
:class=>"fancybox", | |
:data =>{:title=> t('.image') + ' ' + (index + 1 ).to_s + '/' + photos_for_page.total_pages.to_s + ' ' + photo.title + '<br/><br/>' + photo.description}, | |
:rel=>"group", | |
:title=> photo.title } %> | |
</li> |
NewerOlder