Hello, I want to create a slideshow of photogrpahs in rails. Can anyone suggest me how do i proceed. I will store the pictures directly on the disk. Thanks you. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
The book "Ajax on Rails" from O''Reilly walks through a photo gallery implementation that should work great as a slideshow with a few minor tweaks. Or you might be able to find some sample code online if you don''t want to buy a book. You might also try to reverse engineer an existing slideshow site. In general these types if questions are too non-specific for this type of forum. There are too many variables: Do you want an AJAX solution or just plain HTML? Will there be an upload page? On Feb 14, 12:24 pm, Ank Ag <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> Hello, > I want to create a slideshow of photogrpahs in rails. Can anyone suggest > me how do i proceed. I will store the pictures directly on the disk. > > Thanks you. > -- > Posted viahttp://www.ruby-forum.com/.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Ank Ag wrote:> Hello, > I want to create a slideshow of photogrpahs in rails. Can anyone suggest > me how do i proceed. I will store the pictures directly on the disk. > > Thanks you.i seem to remember i was trying to do something similar once but gave up half way through and did what I wanted a different way. The way i was doing it was by using a javascript carousel library.... this one is straight javascript from Yahoo I think: http://billwscott.com/carousel/ and this french guy converted it for ruby (or something): http://prototype-carousel.xilinus.com/ but as you can see it''s "not anymore supported" so they link to this instead: http://www.prototype-ui.com/ can''t help you any more than that I''m afraid -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Robert Walker wrote:> The book "Ajax on Rails" from O''Reilly walks through a photo gallery > implementation that should work great as a slideshow with a few minor > tweaks. Or you might be able to find some sample code online if you > don''t want to buy a book. You might also try to reverse engineer an > existing slideshow site. > > In general these types if questions are too non-specific for this type > of forum. There are too many variables: Do you want an AJAX solution > or just plain HTML? Will there be an upload page?Sorry, for not mentioning things clearly. I will need an upload page and want to use AJAX. If you know any resources please ket me know. Thanks a lot. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
If you think about it, a pretty simple pagination-based system would be a decent slideshow. :) On Feb 17, 2008 8:37 AM, Ank Ag <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > Robert Walker wrote: > > The book "Ajax on Rails" from O''Reilly walks through a photo gallery > > implementation that should work great as a slideshow with a few minor > > tweaks. Or you might be able to find some sample code online if you > > don''t want to buy a book. You might also try to reverse engineer an > > existing slideshow site. > > > > In general these types if questions are too non-specific for this type > > of forum. There are too many variables: Do you want an AJAX solution > > or just plain HTML? Will there be an upload page? > > Sorry, for not mentioning things clearly. I will need an upload page and > want to use AJAX. If you know any resources please ket me know. > Thanks a lot. > -- > Posted via http://www.ruby-forum.com/. > > > >-- http://www.coreyhaines.com The Internet''s Premiere source of information about Corey Haines --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On Feb 17, 5:37 am, Ank Ag <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> Sorry, for not mentioning things clearly. I will need an upload page and > want to use AJAX. If you know any resources please ket me know. > Thanks a lot. > -- > Posted viahttp://www.ruby-forum.com/.there''s a few in scriptaculous (just oogling, haven''t tried myself): http://blog.caboo.se/articles/2006/01/19/easy-scriptaculous-slideshow http://www.ioncannon.net/javascript/48/smooth-scrolling-image-list/ http://garbageburrito.com/blog/entry/555/slideshow-clearing-all-javascript-timers --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
gene tani wrote:> On Feb 17, 5:37 am, Ank Ag <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote: > >> Sorry, for not mentioning things clearly. I will need an upload page and >> want to use AJAX. If you know any resources please ket me know. >> Thanks a lot. >> -- >> Posted viahttp://www.ruby-forum.com/. > > there''s a few in scriptaculous (just oogling, haven''t tried myself): > > http://blog.caboo.se/articles/2006/01/19/easy-scriptaculous-slideshow > http://www.ioncannon.net/javascript/48/smooth-scrolling-image-list/ > http://garbageburrito.com/blog/entry/555/slideshow-clearing-all-javascript-timersThx a lot I will try those scriptaculous. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
@Ank -- It is not possible to do a file upload via AJAX; the technology does not support it. You can acheive something that is AJAX-like, however. You will definitely want to grab the attachment_fu plugin; this plugin handles all the heavy lifting involved in retrieving the file from the post, storing it (disk or db -- you configure), and creating a model instance for it. There are a few tools out there to help with the AJAX-like process. I have tried working with the upload_status plugin but did not feel that I had adequate control over the responses. I preferred the earlier work from the same plugin author called respond_to_parent and doing a little more work on my own. Here''s a decent how-to: http://khamsouk.souvanlasy.com/2007/5/1/ajax-file-uploads-in-rails-using-attachment_fu-and-responds_to_parent HTH, AndyV On Feb 17, 8:37 am, Ank Ag <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> Robert Walker wrote: > > The book "Ajax on Rails" from O''Reilly walks through a photo gallery > > implementation that should work great as a slideshow with a few minor > > tweaks. Or you might be able to find some sample code online if you > > don''t want to buy a book. You might also try to reverse engineer an > > existing slideshow site. > > > In general these types if questions are too non-specific for this type > > of forum. There are too many variables: Do you want an AJAX solution > > or just plain HTML? Will there be an upload page? > > Sorry, for not mentioning things clearly. I will need an upload page and > want to use AJAX. If you know any resources please ket me know. > Thanks a lot. > -- > Posted viahttp://www.ruby-forum.com/.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---