Use this : http://ruby.sketchup.com/Sketchup/Entities.html#add_image-instance_method