<%= render "yiff_rest/api_v2/manage/nav" %>
<% @images.each do |img| %> <% end %>
Artists Details Sources
<%= link_to(img.url, target: "_blank", rel: "noopener") do %> <%= image_tag(img.url, class: "img-fluid img-thumbnail") %> <% end %> <%= img.artists.join(", ") %>
  • Resolution: <%= img.width %>x<%= img.height %>
  • MD5: <%= img.md5 %>
  • Type: <%= img.file_ext %>
  • Size: <%= number_to_human_size(img.file_size) %>
  • Creator: <%= img.creator.name %>
  • Created At: <%= compact_time(img.created_at) %>
  • Updated At: <%= compact_time(img.updated_at) %>
  • <% unless @sp[:category].present? %>
  • Category: <%= img.category %>
  • <% end %>
  • Upload Type: <% if img.original_url.present? %> <%= link_to "url".html_safe, img.original_url %> <% else %> file <% end %>
<% img.sources.each do |source| %> <%= link_to source, source %>
<% end %>
<%= link_to "Edit", edit_yiff_rest_api_v2_manage_image_path(manage_id: params[:id], id: img.id) %> | <%= link_to "Delete", yiff_rest_api_v2_manage_image_path(manage_id: params[:id], id: img.id), method: :delete %>
<%= link_to "Delete W/R", delete_with_reason_yiff_rest_api_v2_manage_image_path(manage_id: params[:id], id: img.id) %>