change thumb image to mobile size
This commit is contained in:
parent
fb3f347f2f
commit
f337e5580b
|
@ -118,7 +118,7 @@ class SpacesController < ApplicationController
|
||||||
images = []
|
images = []
|
||||||
unit.floor_sub_unit_images.each do |image|
|
unit.floor_sub_unit_images.each do |image|
|
||||||
images << {
|
images << {
|
||||||
"image-thumb-url" => image.image.thumb.url,
|
"image-thumb-url" => image.image.mobile.url,
|
||||||
"image-url" => image.image.url,
|
"image-url" => image.image.url,
|
||||||
"alt-image" => unit.title
|
"alt-image" => unit.title
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue