change cover image link url.
This commit is contained in:
parent
806f40fc26
commit
8f2e48cfb8
|
@ -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_"),
|
||||
|
|
Loading…
Reference in New Issue