diff --git a/app/assets/images/default-img.png b/app/assets/images/default-img.png
new file mode 100644
index 00000000..01487586
Binary files /dev/null and b/app/assets/images/default-img.png differ
diff --git a/app/views/admin/sites/preference.html.erb b/app/views/admin/sites/preference.html.erb
index ff4f802e..8a7e2e69 100644
--- a/app/views/admin/sites/preference.html.erb
+++ b/app/views/admin/sites/preference.html.erb
@@ -162,10 +162,9 @@
- <% @site_in_use_locales.each do |locale| %>
+ <% @site_in_use_locales.each do |locale| %>
<%= radio_button_tag "site[default_locale]", locale, @locale == locale ,:class=>"toggle-check in_use_locales", :data => { :title => "#{I18nVariable.from_locale(locale)}" } %>
<% end %>
-
@@ -179,10 +178,10 @@
- <% if @site.default_image %>
+ <% if @site.default_image.file.present? %>
<%= image_tag( @site.default_image, :size=>"120x120") rescue ''%>
<% else %>
- <%= image_tag "default-img.png", :class => "pull-left upload-picture"%>
+ <%= image_tag "http://www.placehold.it/50x50/EFEFEF/AAAAAA",:size=>"120x120",:class => "pull-left upload-picture"%>
<% end %>
@@ -208,10 +207,10 @@
- <% if @site.favicon %>
- <%= image_tag( @site.favicon, :size=>"120x120") rescue ''%>
+ <% if @site.favicon.file.present? %>
+ <%= image_tag( @site.favicon, :size=>"120x120") rescue ''%>
<% else %>
- <%= image_tag "default-img.png", :class => "pull-left upload-picture"%>
+ <%= image_tag "http://www.placehold.it/50x50/EFEFEF/AAAAAA",:size=>"120x120", :class => "pull-left upload-picture"%>
<% end %>