-
-
- <%= image_tag image_url(:main_image, resize_to_fit: [653, 436]) %>
+ |
+
+ <%= image_tag image_url(:main_image, resize_to_fit: [653, 436]), width: "653", height: "436" %>
|
|
@@ -240,7 +245,7 @@
-
+
@@ -251,8 +256,8 @@
|
-
-
+
+
<% (1..4).each_slice(2) do |boxes| %>
<% boxes.each do |num| %>
@@ -260,7 +265,7 @@
<% if has_image?("body_box_image_#{num}") %>
<%= link_to link_for("body_box_link_url_#{num}") do %>
- <%= image_tag(image_url("body_box_image_#{num}")) %>
+ <%= image_tag(image_url("body_box_image_#{num}"), width: "238", height: "134", style: "width:100%; max-width:500px; display:block; margin:0 auto;") %>
<% end %>
<% end %>
@@ -305,7 +310,7 @@
<% (1..3).each do |num| %>
| | |