# Photos display on the same page

**URL:** <https://www.ruby-forum.com/t/photos-display-on-the-same-page/159749>\
**Category:** Rails\
**Created:** [February 8, 2009, 8:11am UTC](https://www.ruby-forum.com/t/photos-display-on-the-same-page/159749 "2009-02-08T08:11:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![shuaib85](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/bbce88/32.png) [@shuaib85](https://www.ruby-forum.com/u/shuaib85)\
**Post date:** [February 8, 2009, 8:11am UTC](https://www.ruby-forum.com/t/photos-display-on-the-same-page/159749/1 "2009-02-08T08:11:01Z")

</div>

Hi there

I saw a nice way of displaying photos using rails, it is like the one  
in the following link

[http://www.opensourcerails.com/projects/16425-pictrails](http://www.opensourcerails.com/projects/16425-pictrails)

anyone knows the name of the plugin or the way to do it

---

<div class="post-metadata">

**Author:** ![shuaib85](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/bbce88/32.png) [@shuaib85](https://www.ruby-forum.com/u/shuaib85)\
**Post date:** [February 9, 2009, 4:05am UTC](https://www.ruby-forum.com/t/photos-display-on-the-same-page/159749/2 "2009-02-09T04:05:37Z")

</div>

Well, having no idea how they did that, it seems that (assuming you have  
a gallery that contains multiple photos), show the thumbnail of the  
previous picture, and the actual (or a scaled version of the) current  
picture, and the thumbnail for the next picture… fairly trivial stuff  
if you have an ordered join table between galleries and pictures.

---

<div class="post-metadata">

**Author:** ![shuaib85](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/bbce88/32.png) [@shuaib85](https://www.ruby-forum.com/u/shuaib85)\
**Post date:** [February 9, 2009, 2:11pm UTC](https://www.ruby-forum.com/t/photos-display-on-the-same-page/159749/3 "2009-02-09T14:11:05Z")

</div>

Shuaib,

There are a lot of options, try thickbox, as in Lovd:

[http://try.lovdbyless.com/profiles/2483-qwe/photos](http://try.lovdbyless.com/profiles/2483-qwe/photos)

Cheers, Sazima

---

<div class="post-metadata">

**Author:** ![shuaib85](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/bbce88/32.png) [@shuaib85](https://www.ruby-forum.com/u/shuaib85)\
**Post date:** [February 19, 2009, 10:05pm UTC](https://www.ruby-forum.com/t/photos-display-on-the-same-page/159749/4 "2009-02-19T22:05:04Z")

</div>

Hi guys

Thanks for the replies.

The answer is lightbox or thickbox

[http://agilewebdevelopment.com/plugins/lightbox\_helper](http://agilewebdevelopment.com/plugins/lightbox_helper)
