forked from bofh/fetsite
fix upload & gallery
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
|
||||
<p id="notice"><%= notice %></p>
|
||||
|
||||
<p>
|
||||
@@ -34,7 +35,6 @@
|
||||
|
||||
<a href="<%= f.datei.url%>" title="<%=f.title%>" data-gallery="gallery">
|
||||
<%=image_tag(f.datei.big_thumb.url,{:class=>"img-polaroid"}) %></a>
|
||||
<% # image_tag(f.datei.url, :data => {:gallery => "gallery"}, :title => "Apple") %>
|
||||
|
||||
|
||||
<% end %>
|
||||
@@ -47,3 +47,11 @@
|
||||
<script src="js/bootstrap.js"></script>
|
||||
<script src="js/load-image.js"></script>
|
||||
<script src="js/bootstrap-image-gallery.js"></script>
|
||||
|
||||
|
||||
<script type="text/javascript">
|
||||
$(function (){
|
||||
//$('#modal-gallery').addClass('modal-fullscreen');
|
||||
$('#modal-gallery').addClass('modal-fullscreen modal-fullscreen-stretch');
|
||||
});
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user