# File lib/cgikit.rb, line 2214 def to_s if @attr_file then @attr_src = application.resource_manager.url @attr_file elsif @attr_data then @attr_src = application.url element_id end to_s = "<img src=\"#@attr_src\" alt=\"#@attr_alt\"" if @attr_border then to_s << " border=\"#@attr_border\"" end if @attr_width then to_s << " width=\"#@attr_width\"" end if @attr_height then to_s << " height=\"#@attr_height\"" end to_s << other_attributes_string to_s << '>' end