diff --git a/app/views/editor/_main_image.html.erb b/app/views/editor/_main_image.html.erb
index df5ecd9409..21593c2115 100644
--- a/app/views/editor/_main_image.html.erb
+++ b/app/views/editor/_main_image.html.erb
@@ -3,6 +3,7 @@
Main image
style="display:none;" <% end %>src="<% if @node && @node.main_image %><%= @node.main_image.path(:default) %><% elsif params[:main_image] && Image.find_by_id(params[:main_image]) %><%= Image.find_by_id(params[:main_image]).path %><% elsif @image %><%= @image.path(:default) %><% end %>" />
+