diff --git a/app/controllers/galleries_controller.rb b/app/controllers/galleries_controller.rb index 9a52b83..d3166e3 100644 --- a/app/controllers/galleries_controller.rb +++ b/app/controllers/galleries_controller.rb @@ -160,7 +160,7 @@ class GalleriesController < ApplicationController "album-name" => a.name, "album-description" => a.description, "alt_title" => alt_text, - "link_to_show" => OrbitHelper.widget_more_url + "/" + a.to_param, + "link_to_show" => OrbitHelper.widget_more_url + "/" + a.to_param + "#" + (cover_image.id.to_s rescue ""), "src" => thumb_src.gsub("thumb_",""), "thumb-src" => thumb_src, "thumb-large-src" => thumb_src.gsub("thumb_","thumb_large_"),