Fix image url in show page.
This commit is contained in:
parent
cbd1f4b517
commit
a65c17851a
|
@ -102,6 +102,7 @@ class GalleriesController < ApplicationController
|
|||
"image_short_description" => a.title,
|
||||
"alt_title" => alt_text,
|
||||
"link_to_show" => "#" + a.id.to_s,
|
||||
"src" => a.file.url,
|
||||
"thumb-src" => a.file.thumb.url,
|
||||
"thumb-large-src" => a.file.thumb_large.url,
|
||||
"mobile-src" => a.file.mobile.url,
|
||||
|
|
Loading…
Reference in New Issue