diff --git a/app/assets/images/experiment/experiment-default.gif b/app/assets/images/experiment/experiment-default.gif new file mode 100644 index 0000000..264e471 Binary files /dev/null and b/app/assets/images/experiment/experiment-default.gif differ diff --git a/app/controllers/experiments_controller.rb b/app/controllers/experiments_controller.rb index 0f897a9..d000afe 100644 --- a/app/controllers/experiments_controller.rb +++ b/app/controllers/experiments_controller.rb @@ -28,7 +28,7 @@ class ExperimentsController < ApplicationController { "link_to_show" => OrbitHelper.url_to_show(subject.to_param), "subject" => subject.title, - "img_src" => subject.image.thumb.url || "/assets/experiment-default.jpg", + "img_src" => subject.image.thumb.url || "/assets/experiment/experiment-default.gif", "category" => subject.category.title, "direction" => subject.direction, "statuses" => statuses, @@ -92,7 +92,7 @@ class ExperimentsController < ApplicationController { "data" => { "subject" => subject.title, - "img_src" => subject.image.thumb.url || "/assets/experiment-default.jpg", + "img_src" => subject.image.thumb.url || "/assets/experiment/experiment-default.gif", "display" => subject.image.thumb.url.nil? ? "display:none;" : "", "category" => subject.category.title, "facility" => subject.facility, @@ -155,7 +155,7 @@ class ExperimentsController < ApplicationController { "link_to_show" => OrbitHelper.widget_item_url(subject.to_param), "subject" => subject.title, - "img_src" => subject.image.thumb.url || "/assets/experiment-default.jpg", + "img_src" => subject.image.thumb.url || "/assets/experiment/experiment-default.gif", "category" => subject.category.title, "direction" => subject.direction, "statuses" => statuses,