# Displaying Multiple pictures

**URL:** <https://www.ruby-forum.com/t/displaying-multiple-pictures/117902>\
**Category:** Rails\
**Created:** [October 22, 2007, 8:43am UTC](https://www.ruby-forum.com/t/displaying-multiple-pictures/117902 "2007-10-22T08:43:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![JUScruZN](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/4491bb/32.png) [@JUScruZN](https://www.ruby-forum.com/u/JUScruZN)\
**Post date:** [October 22, 2007, 8:43am UTC](https://www.ruby-forum.com/t/displaying-multiple-pictures/117902/1 "2007-10-22T08:43:05Z")

</div>

Hi,  
Can anybody tell me how to display multiple pictures with a download  
link  
below the pictures.  
Scenario :  
The pictures will be in a non public folder and I want to stream (if  
possible) the pictures to the browser with a link below the pictures  
that  
will allow a user to download the picture.  
The reason I am using a non public folder is to regulate authorization  
to  
the pictures, thus only giving a certain set of users access to the  
pictures. Unfortunately I must use non public folders to store the  
pictures.  
I can stream one picture to the browser, but I cannot add any other  
pictures, text or links to this rhtml.  
To create the html containing the pictures and links before hand are not  
an  
option, since I want to create the html being displayed to be dynamic.

I dont have the option to store the image in a database, as suggested by  
alot of google search results.

As you have probably guested, I am a newby to Ruby on Rails, trying to  
convert my perl scripts to ROR.

## Thanks in advance.

View this message in context:  
[http://www.nabble.com/Displaying-Multiple-pictures-tf4667247.html#a13332624](http://www.nabble.com/Displaying-Multiple-pictures-tf4667247.html#a13332624)  
Sent from the RubyOnRails Users mailing list archive at [Nabble.com](http://Nabble.com).

---

<div class="post-metadata">

**Author:** ![JUScruZN](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/4491bb/32.png) [@JUScruZN](https://www.ruby-forum.com/u/JUScruZN)\
**Post date:** [October 29, 2007, 1:00pm UTC](https://www.ruby-forum.com/t/displaying-multiple-pictures/117902/2 "2007-10-29T13:00:37Z")

</div>

Hint: Use send\_data
