Added a view large link to facilitate switching between image sizes
- The link is placed in the Options section -- In the same place as the now defunct "Resize to image" link -- This was so that it doesn't interfere with the image when in full size
This commit is contained in:
@@ -1,4 +1,9 @@
|
||||
<ul>
|
||||
<% if post.visible? && post.has_large? && !post.is_ugoira? %>
|
||||
<li id="post-option-view-large" style="<%= CurrentUser.default_image_size == "original" ? "" : "display: none;" %>">
|
||||
<%= link_to "View large", post.tagged_large_file_url, id: "image-view-large-link" %>
|
||||
</li>
|
||||
<% end %>
|
||||
<li id="post-option-find-similar">
|
||||
<%= link_to "Find similar", iqdb_queries_path(post_id: post.id) %>
|
||||
</li>
|
||||
|
||||
Reference in New Issue
Block a user