o = (spot and spot != self) ? "opacity: #{opacity.to_f/100}; filter:alpha(opacity=#{opacity});" : ''
self.tag_attributes(:img, {
:class => "panel-picture", :vPicture => self.id,
- :src => self.url, :width => self.width.abs, :height => self.height.abs, :picture_id => self.picture_id, :ext => self.picture.ext, :alt => self.caption,
+ :src => self.url, :width => self.width.abs, :height => self.height.abs,
+ :picture_id => self.picture_id, :ext => self.picture.ext,
+ :alt => self.caption,
:style => "#{o}"
})
end