@attr['width'] = @width\r
@attr['height'] = @height\r
@attr['alt'] = @name\r
- @attr['title'] = @title\r
+ @attr['title'] = options.title || @title\r
opt = {\r
attr: @attr,\r
class_name: @class_name\r
}\r
super(opt)\r
\r
+class Pettanr.Image.SymbolImg.Error extends Pettanr.Image.SymbolImg\r
+ \r
+ initialize: (options) ->\r
+ super(options)\r
+ options ||= {}\r
+ options.attr ||= {}\r
+ options.attr.src ||= '/images/error.png'\r
+ \r