From 4de4e0d72567e4f07731f18ac18747d2f3be4eeb Mon Sep 17 00:00:00 2001 From: Brian Michalski Date: Sun, 28 Oct 2012 22:24:43 -0700 Subject: [PATCH] Switch template previewing to jpgs, they are much faster. --- app/views/templates/_show_body.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/templates/_show_body.html.erb b/app/views/templates/_show_body.html.erb index 21de6546a..0b068d620 100644 --- a/app/views/templates/_show_body.html.erb +++ b/app/views/templates/_show_body.html.erb @@ -1,7 +1,7 @@ <%= link_to '[Edit]', edit_template_path(@template) %>
- <%= image_tag preview_template_path(@template, :width=> 600, :format => :png), :style => "width: 100%", :alt => "#{@template.name} Preview" %> + <%= image_tag preview_template_path(@template, :width=> 600, :format => :jpg), :style => "width: 100%", :alt => "#{@template.name} Preview" %>