changes medium to large size on gallery images

This commit is contained in:
decabeza
2017-10-06 18:04:15 +02:00
parent 936ffa1fb6
commit 5c2784794f

View File

@@ -19,7 +19,7 @@
<% answer.images.reverse.each_with_index do |image, index| %>
<li class="orbit-slide <%= active_class(index) %>">
<%= link_to image.attachment.url(:original), target: "_blank" do %>
<%= image_tag image.attachment.url(:medium),
<%= image_tag image.attachment.url(:large),
class: "orbit-image",
alt: image.title %>
<% end %>