using image with submit_to_remote

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

      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