# Web with images

**URL:** <https://www.ruby-forum.com/t/web-with-images/181474>\
**Category:** Rails\
**Created:** [January 12, 2010, 3:01pm UTC](https://www.ruby-forum.com/t/web-with-images/181474 "2010-01-12T15:01:13Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![erwillie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/c0e974/32.png) [@erwillie](https://www.ruby-forum.com/u/erwillie)\
**Post date:** [January 12, 2010, 3:01pm UTC](https://www.ruby-forum.com/t/web-with-images/181474/1 "2010-01-12T15:01:13Z")

</div>

I wanna to create a web page with instant rails.  
In my web page I wanna to show some pictures.  
What is the code I need to show it

Thanks a lot!!

---

<div class="post-metadata">

**Author:** ![erwillie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/c0e974/32.png) [@erwillie](https://www.ruby-forum.com/u/erwillie)\
**Post date:** [January 12, 2010, 4:10pm UTC](https://www.ruby-forum.com/t/web-with-images/181474/2 "2010-01-12T16:10:38Z")

</div>

2010/1/12 Guille S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

> I wanna to create a web page with instant rails.  
> In my web page I wanna to show some pictures.  
> What is the code I need to show it

If you have not already done so then have a look at the Getting  
Started rails guide (google Rails Guides). Then image\_tag is probably  
of interest.

Colin

---

<div class="post-metadata">

**Author:** ![erwillie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/c0e974/32.png) [@erwillie](https://www.ruby-forum.com/u/erwillie)\
**Post date:** [January 13, 2010, 3:00pm UTC](https://www.ruby-forum.com/t/web-with-images/181474/3 "2010-01-13T15:00:21Z")

</div>

Colin L. wrote:

> 2010/1/12 Guille S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):
> 
> > I wanna to create a web page with instant rails.  
> > In my web page I wanna to show some pictures.  
> > What is the code I need to show it
> 
> If you have not already done so then have a look at the Getting  
> Started rails guide (google Rails Guides). Then image\_tag is probably  
> of interest.
> 
> Colin

I have done that tutorial yet. And I donÂ´t where explain the pictures  
objects.

Thanks!!!

---

<div class="post-metadata">

**Author:** ![erwillie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/c0e974/32.png) [@erwillie](https://www.ruby-forum.com/u/erwillie)\
**Post date:** [January 13, 2010, 3:14pm UTC](https://www.ruby-forum.com/t/web-with-images/181474/4 "2010-01-13T15:14:55Z")

</div>

2010/1/13 Guille S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

> > Colin
> 
> I have done that tutorial yet. And I donÂ´t where explain the pictures  
> objects.

I meant that having done the tutorial you should look up image\_tag to  
find how to do the pictures.

Colin

---

<div class="post-metadata">

**Author:** ![erwillie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/c0e974/32.png) [@erwillie](https://www.ruby-forum.com/u/erwillie)\
**Post date:** [January 13, 2010, 3:36pm UTC](https://www.ruby-forum.com/t/web-with-images/181474/5 "2010-01-13T15:36:41Z")

</div>

Guille S. wrote:

> Colin L. wrote:
> 
> > 2010/1/12 Guille S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):
> > 
> > > I wanna to create a web page with instant rails.  
> > > In my web page I wanna to show some pictures.  
> > > What is the code I need to show it
> > 
> > If you have not already done so then have a look at the Getting  
> > Started rails guide (google Rails Guides). Then image\_tag is probably  
> > of interest.
> > 
> > Colin
> 
> I have done that tutorial yet. And I donÂ´t where explain the pictures  
> objects.

Here’s the information you need:

> **[ActionView::Helpers::AssetTagHelper](https://api.rubyonrails.org/classes/ActionView/Helpers/AssetTagHelper.html#M001722)**
>
> This module provides methods for generating HTML that links views to assets such as images, JavaScripts, stylesheets, and feeds.

I was somewhat reluctant to provide this answer, however. If you’re not  
able to figure out, on your own, such basic information I’m afraid  
you’re going to have much trouble learning and using Ruby on Rails.

There are many books and a tons of information available online to  
search out this sort of answer. Keep in mind that for every question  
posted on a forum such as this, you are asking people to spend their own  
precious time.

We all follow this forum, and spend our time freely, in hopes that  
contributing to the community will benefit everyone. Please try to make  
a good effort to find the information on your own before posting  
questions here.

If you do find you have questions on something basic, then at least  
explain what you have tried and where you have looked for the answers.  
That may help illuminate shortcomings in the documentation and guides.  
The answer in this case was easily found by searching the official  
documentation, or by typing “rails image tag” into Google.

I think you’ll find that asking intelligent questions, or at least  
showing some effort on your part, will gain you respect here. Otherwise  
you may find yourself being ignored.
