diff --git a/Gemfile b/Gemfile index ba1a015..1cb1085 100755 --- a/Gemfile +++ b/Gemfile @@ -121,4 +121,6 @@ gem 'opengraph_parser' # Image gallery gem 'blueimp-gallery' -gem 'blueimp-gallery-rails' \ No newline at end of file +gem 'blueimp-gallery-rails' + +gem 'shareable' \ No newline at end of file diff --git a/app/views/fotos/show.html.erb b/app/views/fotos/show.html.erb index d4c084d..04c4e6b 100644 --- a/app/views/fotos/show.html.erb +++ b/app/views/fotos/show.html.erb @@ -3,14 +3,14 @@ position: absolute; left: 0; right: 0; -bottom: 0; -top: 0;" %> +bottom: 40pt; +top: 0" %> <% #, gallery_foto_path(@foto.gallery, ((@foto.gallery.fotos[@foto.gallery.fotos.index(@foto)+1].nil?) ? (@foto.gallery.fotos[0].try(:id).to_i) : @foto.gallery.fotos[@foto.gallery.fotos.index(@foto)+1].try(:id).to_i) ) %> -
<%= notice %>