# using image with submit\_to\_remote

**URL:** <https://discuss.rubyonrails.org/t/using-image-with-submit-to-remote/32139>\
**Category:** rubyonrails-talk\
**Created:** [July 21, 2008, 11:04am UTC](https://discuss.rubyonrails.org/t/using-image-with-submit-to-remote/32139 "2008-07-21T11:04:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![srinivas\_reddy](https://avatars.discourse-cdn.com/v4/letter/s/6f9a4e/32.png) [@srinivas\_reddy](https://discuss.rubyonrails.org/u/srinivas_reddy)\
**Post date:** [July 21, 2008, 11:04am UTC](https://discuss.rubyonrails.org/t/using-image-with-submit-to-remote/32139/1 "2008-07-21T11:04:50Z")

</div>

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](http://khamsouk.souvanlasy.com/2007/5/1/ajax-file-uploads-in-rails-using-attachment_fu-and-responds_to_parent)

---

<div class="post-metadata">

**Author:** ![11175](https://avatars.discourse-cdn.com/v4/letter/1/8edcca/32.png) [@11175](https://discuss.rubyonrails.org/u/11175)\
**Post date:** [July 21, 2008, 11:32am UTC](https://discuss.rubyonrails.org/t/using-image-with-submit-to-remote/32139/2 "2008-07-21T11:32:15Z")

</div>

Hi &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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
