我怎样才能获得承运人的目前情况的宽度和高度?
与此类似:
car_images.each do | image|
image_tag( image.photo_url, :width => image.photo_width, :height => image.photo_height)
end
Unfortunately image.photo_width
and image.photo_height
are not working.
I need to specify the width and height of the images, it is required on the jquery plugin I m using.