#2426 refactor to use predetermined referer
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
<% if params[:url] %>
|
||||
<%= image_tag(image_proxy_uploads_path(:url => @normalized_url, :ref => params[:ref]), :title => "Preview", :id => "image") %>
|
||||
<% if ImageProxy.needs_proxy?(@normalized_url) %>
|
||||
<%= image_tag(image_proxy_uploads_path(:url => @normalized_url), :title => "Preview", :id => "image") %>
|
||||
<% else %>
|
||||
<%= image_tag(@normalized_url, :title => "Preview", :id => "image") %>
|
||||
<% end %>
|
||||
|
||||
<ul>
|
||||
<% if @remote_size %>
|
||||
|
||||
Reference in New Issue
Block a user