On Wed, Mar 9, 2011 at 2:48 AM, Philip Hallstrom <phi...@pjkh.com> wrote:

> > Non-technical founder doing some research to try and help point my
> > developer in the right direction.
> >
> > Seeking resources or guidance to help generate an image preview from a
> > link, similar to the one used in Facebook's UI, and then subsequently
> > also allow a user to display / grab the full size image of the preview
> > as well. Not looking to necessarily create a bookmarklet a la
> > svpply.com or the like, but interested in figuring out a way whereby a
> > user can enter a link, select the image they want on the page they've
> > linked to, and then have that image added to a post or submission to a
> > web page.
> >
>

you can do this using a simple ajax process.

submit the link via ajax then in the controller, get the html page through
the HTTP::Net library or use a gem like httparty.  Parse the page with
nokogiri and save all the images in an array.  Use the array to show the
user the images found on that link.



> > Any help, guidance, or anything would be greatly appreciated!!
>
>
> http://www.pageglimpse.com/
>
> Maybe... I did a project using alexa thumbnail service, but looks like that
> got shut down.  One article pointed to the above as a replacement. I've
> never used it though...
>
> --
> 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@googlegroups.com.
> To unsubscribe from this group, send email to
> rubyonrails-talk+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>


-- 
-------------------------------------------------------------
visit my blog at http://jimlabs.heroku.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@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to