[Rails] how to show the bigger image after clicking on thumnail ??

2012-02-12 Thread Amrit Pal Pathak
How to enlarge a thumnail ,when somebody click on it in ruby on rails ?? is there any gem for it? please help . -- Thanks Regards Amrit Pal amritpalpathak.blogspot.com -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this

Re: [Rails] how to show the bigger image after clicking on thumnail ??

2012-02-12 Thread Javier Quarite
On Sun, Feb 12, 2012 at 9:04 AM, Amrit Pal Pathak amritpalpath...@gmail.com wrote: How to enlarge a thumnail ,when somebody click on it in ruby on rails ?? is there any gem for it? please help . If I'm not wrong... this may help http://fancybox.net/ or maybe I missunderstood your

Re: [Rails] how to show the bigger image after clicking on thumnail ??

2012-02-12 Thread Amrit Pal Pathak
On Sun, Feb 12, 2012 at 7:48 PM, Javier Quarite jquari...@gmail.com wrote: On Sun, Feb 12, 2012 at 9:04 AM, Amrit Pal Pathak amritpalpath...@gmail.com wrote: How to enlarge a thumnail ,when somebody click on it in ruby on rails ?? is there any gem for it? please help . If I'm not

Re: [Rails] how to show the bigger image after clicking on thumnail ??

2012-02-12 Thread thiagocifani
I think you can call a link_to method to point to this image in a large size! If you are using paperclip you can call link_to “image_foo“, path_to_original_size“ . Thanks Em 12/02/2012 13:06, Amrit Pal Pathak amritpalpath...@gmail.com escreveu: On Sun, Feb 12, 2012 at 7:48 PM, Javier Quarite

Re: [Rails] how to show the bigger image after clicking on thumnail ??

2012-02-12 Thread Amrit Pal Pathak
On Sun, Feb 12, 2012 at 8:40 PM, thiagocifani cifani.thi...@gmail.com wrote: I think you can call a link_to method to point to this image in a large size! If you are using paperclip you can call link_to “image_foo“, path_to_original_size“ . thanks for the reply.i hope it will help but i am not

Re: [Rails] how to show the bigger image after clicking on thumnail ??

2012-02-12 Thread radhames brito
Your question is not rails related since that is done via javascript. Here are some libs for jquery: http://jacklmoore.com/colorbox/ http://lokeshdhakar.com/projects/lightbox2/ -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to

Re: [Rails] how to show the bigger image after clicking on thumnail ??

2012-02-12 Thread Amrit Pal Pathak
On Sun, Feb 12, 2012 at 8:48 PM, radhames brito rbri...@gmail.com wrote: Your question is not rails related since that is done via javascript. Here are some libs for jquery: But i want to do it in rails. http://jacklmoore.com/colorbox/ http://lokeshdhakar.com/projects/lightbox2/ jquery will

Re: [Rails] how to show the bigger image after clicking on thumnail ??

2012-02-12 Thread Javier Quarite
On Sun, Feb 12, 2012 at 10:24 AM, Amrit Pal Pathak amritpalpath...@gmail.com wrote: On Sun, Feb 12, 2012 at 8:48 PM, radhames brito rbri...@gmail.com wrote: Your question is not rails related since that is done via javascript. Here are some libs for jquery: But i want to do it in rails.

Re: [Rails] how to show the bigger image after clicking on thumnail ??

2012-02-12 Thread radhames brito
On Sun, Feb 12, 2012 at 11:24 AM, Amrit Pal Pathak amritpalpath...@gmail.com wrote: On Sun, Feb 12, 2012 at 8:48 PM, radhames brito rbri...@gmail.com wrote: Your question is not rails related since that is done via javascript. Here are some libs for jquery: But i want to do it in rails.

Re: [Rails] how to show the bigger image after clicking on thumnail ??

2012-02-12 Thread Amrit Pal Pathak
On Sun, Feb 12, 2012 at 8:57 PM, Javier Quarite jquari...@gmail.com wrote: On Sun, Feb 12, 2012 at 10:24 AM, Amrit Pal Pathak amritpalpath...@gmail.com wrote: On Sun, Feb 12, 2012 at 8:48 PM, radhames brito rbri...@gmail.com wrote: Your question is not rails related since that is done via

Re: [Rails] how to show the bigger image after clicking on thumnail ??

2012-02-12 Thread radhames brito
jquery will work in rails's environment? I bit of explanation. Rails handle the server side code, javascript is run on the client side. If you want content in your html to change like a resizing of an imagem the best way to do it is via manipulating it via javascript, rails can be paired with

Re: [Rails] how to show the bigger image after clicking on thumnail ??

2012-02-12 Thread Colin Law
On 12 February 2012 15:05, Amrit Pal Pathak amritpalpath...@gmail.com wrote: On Sun, Feb 12, 2012 at 7:48 PM, Javier Quarite jquari...@gmail.com wrote: On Sun, Feb 12, 2012 at 9:04 AM, Amrit Pal Pathak amritpalpath...@gmail.com wrote: How to enlarge a thumnail ,when somebody click on it in