# How to save the images created using ajax call

**URL:** <https://www.ruby-forum.com/t/how-to-save-the-images-created-using-ajax-call/158512>\
**Category:** Rails\
**Created:** [January 24, 2009, 4:26am UTC](https://www.ruby-forum.com/t/how-to-save-the-images-created-using-ajax-call/158512 "2009-01-24T04:26:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sauravsuman012](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/a5b964/32.png) [@sauravsuman012](https://www.ruby-forum.com/u/sauravsuman012)\
**Post date:** [January 24, 2009, 4:26am UTC](https://www.ruby-forum.com/t/how-to-save-the-images-created-using-ajax-call/158512/1 "2009-01-24T04:26:39Z")

</div>

Hi All,

I am using Ajax call with form\_remote\_tag through which image is  
generated now i have to put a save button through where i have to save  
the generated image in my “images/public” folder .

If you have any solution please help .  
Thanks in advance

---

<div class="post-metadata">

**Author:** ![sauravsuman012](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/a5b964/32.png) [@sauravsuman012](https://www.ruby-forum.com/u/sauravsuman012)\
**Post date:** [January 24, 2009, 8:14am UTC](https://www.ruby-forum.com/t/how-to-save-the-images-created-using-ajax-call/158512/2 "2009-01-24T08:14:51Z")

</div>

You might check out my example app for uploading images via ajax-like  
functionality.

[http://github.com/melvinram/ajax-image-upload/](http://github.com/melvinram/ajax-image-upload/)

On Jan 23, 7:26 pm, Kumar S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![sauravsuman012](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/a5b964/32.png) [@sauravsuman012](https://www.ruby-forum.com/u/sauravsuman012)\
**Post date:** [January 24, 2009, 4:45pm UTC](https://www.ruby-forum.com/t/how-to-save-the-images-created-using-ajax-call/158512/3 "2009-01-24T16:45:27Z")

</div>

Kumar S. wrote:

> I am using Ajax call with form\_remote\_tag through which image is  
> generated now i have to put a save button through where i have to save  
> the generated image in my “images/public” folder .

Where is the image generated? In the server? If it’s already there, just  
keep  
its filename in your database, and find this and move it at Submit time,  
right?

Otherwise, ask the question with more details!
