
<%= stylesheet_link_tag "gallery_frontend" %>

<div id="orbit_gallery" class="rg">
  <div class="rgbody">
    <div id="imgholder">

    </div>
  </div>
  <!-- tag part -->
 <!-- add "album_tags" or "photo_tags" class to .taglist -->
  <div class="taglist"> 
    <h3 class="taglist_title"><%= t('gallery.album_tag') %></h3>
    <ul>
    <% @tags.each do |tag|%>
        <li><%= tag %></li>
    <% end %>
    </ul>
  </div>
  <!-- tag end -->
  <div class="form-actions form-fixed pagination-right rghead">
    <div class="rgfn">
   		<a class="bt-back rgbt" title="<%= I18n.t("gallery.back_to_albums") %>" href="<%= panel_gallery_front_end_albums_path %>"><i class="icon-arrow-left"></i> <%= I18n.t("gallery.back_to_albums") %></a>
  </div>
</div>
</div>

<% content_for :page_specific_javascript do %>
  <%= javascript_include_tag "galleryAPI_frontend" %>
   <%= javascript_include_tag "jquery.tinyscrollbar" %>
  <%= javascript_include_tag "rss" %>
<% end %>

<script type="text/javascript">
  galleryAPI.prototype.locale = "<%= I18n.locale %>";
  var gallery = new galleryAPI();
  gallery.initialize();
   gallery.loadArea = "images";
   gallery.loadImages("<%= params[:id] %>");
</script>





