# How to show the image from the database

**URL:** <https://www.ruby-forum.com/t/how-to-show-the-image-from-the-database/130202>\
**Category:** Rails\
**Created:** [February 26, 2008, 11:11am UTC](https://www.ruby-forum.com/t/how-to-show-the-image-from-the-database/130202 "2008-02-26T11:11:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![joe](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/b9e5f3/32.png) [@joe](https://www.ruby-forum.com/u/joe)\
**Post date:** [February 26, 2008, 11:11am UTC](https://www.ruby-forum.com/t/how-to-show-the-image-from-the-database/130202/1 "2008-02-26T11:11:14Z")

</div>

how to show the image from the database

---

<div class="post-metadata">

**Author:** ![joe](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/b9e5f3/32.png) [@joe](https://www.ruby-forum.com/u/joe)\
**Post date:** [February 26, 2008, 11:13am UTC](https://www.ruby-forum.com/t/how-to-show-the-image-from-the-database/130202/2 "2008-02-26T11:13:15Z")

</div>

i think send\_data is what you’re looking for:

> **[ActionController::Streaming](https://api.rubyonrails.org/classes/ActionController/Streaming.html#M000229)**
>
> Allows views to be streamed back to the client as they are rendered. By default, Rails renders views by first rendering the template and then the layout.
