using image with submit_to_remote

Hi,
This is sad to say, there is no direct way of image or file uploading
using form_remote_tag or link_to_remote.
For that we have different way to do.
This link will really help ajax image or file upload, uses iframes..
go through this
http://khamsouk.souvanlasy.com/2007/5/1/ajax-file-uploads-in-rails-using-attachment_fu-and-responds_to_parent

Hi
      Thanks for the reply.But What I need is not ajax file upload .Use
an image as a title with the submit_to_remote instead of text title..I
could do it with link_to_remote :submit option now.(For that i had to
change all my code using submit_to_remote with link_to_remote).But would
like to know how can i apply it with submit_to_remote

Sijo