My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions

Issue 60 attachment: clicktoenlarge.patch (989 bytes)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Index: show.rhtml
===================================================================
--- show.rhtml (revision 43)
+++ show.rhtml (working copy)
@@ -9,13 +9,14 @@
</ul>
<% if @default_image %>
<div style="float:left; margin:20px; width: 200px;">
+ <p class="info">Click to see full view</p>
<% if @default_image.public_filename(:small) then %>
- <%= image_tag(@default_image.public_filename(:small)) %>
+ <a href="<%= @default_image.public_filename %>" class="submodal-800-400"><%= image_tag @default_image.public_filename(:small) %></a>
+
<% end %>
<!-- thumbnails! -->
<% if @images.size > 1 %>
<h4>Other product images</h4>
- <p class="info">Click to see full view</p>
<% for @p_image in @images do %>
<!-- product image for reordering -->
<div class="float" style="margin:5px;">
@@ -123,4 +124,4 @@
</div>

</div>
-<div class="clear">&nbsp;</div>
\ No newline at end of file
+<div class="clear">&nbsp;</div>
Powered by Google Project Hosting