# Upload image and problem in display same time

**URL:** <https://www.ruby-forum.com/t/upload-image-and-problem-in-display-same-time/90499>\
**Category:** Rails\
**Created:** [March 29, 2007, 10:32am UTC](https://www.ruby-forum.com/t/upload-image-and-problem-in-display-same-time/90499 "2007-03-29T10:32:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jahnvi\_Thaker](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/aca169/32.png) [@Jahnvi\_Thaker](https://www.ruby-forum.com/u/Jahnvi_Thaker)\
**Post date:** [March 29, 2007, 10:32am UTC](https://www.ruby-forum.com/t/upload-image-and-problem-in-display-same-time/90499/1 "2007-03-29T10:32:38Z")

</div>

hi i want to display image as it is uploaded,

# –\> i have a render partial form in which i used iframe like this,

# Select Image:

|   
  
 |

  

where image is uploaded, for that on click of update button in editImage  
form  
i am calling Update method which stores image path in database. and it  
done perfectly.

but i want to display the latest image which is stored in database, but  
sometimes it is giving ang sometimes it just gives path.

any other way to do it? i search a lot but mostly are giving rmagick  
sollution …  
cant it done without rmagick? if it can then plz tell.

thanks in advance…
