I''m using a Lightbox on a local site. I''ve built a Gallery
that allows a
user to upload images in a secure admin area. I have the Lightbox
working a treat but I do have one small issue - I''ve grouped the images
so the user can scroll through them when they open the Lightbox.
Code:
<div>
<%= link_to (scale_image_tag gallery.picture1, :width => 100, :height
=>
100, :rel => "lightbox[@gallery]", :alt => gallery.name),
gallery.picture1.url, :rel => "lightbox[@gallery]", :title =>
gallery.name %>
<br /><%= link_to gallery.name, gallery.picture1.url, :rel =>
"lightbox[@gallery]", :title => gallery.name %>
</div>
When the Lightbox opens, the image counter at the bottom isn''t correct
and I can''t seem to find the correct way to address this issue, please
help.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.