<% content_for(:page_title) do %> YiffyAPI - Convert Image <% end %> <%= render "yiff_rest/api_v2/manage/nav" %>
<%= simple_form_for(:api_image, url: convert_yiff_rest_api_v2_manage_image_path(@image), method: :post) do |f| %> <%= f.input(:external_url) %> <%= f.button(:submit, "Convert Image", name: nil) %> <% end %>
<%= link_to(@image.url, target: "_blank", rel: "noopener") do %> <%= image_tag(@image.url, style: "max-width: 100%; max-height: 80vh; object-fit: contain;") %> <% end %>