% if params[:url] %> <% 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 %>