The only issue is: I need a much larger rez image to put up on the big projector. Since this is doing Google Image Search... any chance for a:
[plus]
[plus]
a) mentioning new vocab off-the-cuff (or in response to a question) in class and immediately showing a picture of it
b) students trying to remember a word and me showing them pictures of words they are guessing until they see the right thing
c) Us making up sample sentences on-the-fly and using a background picture as an impromptu slide: "Darth Vader is hungry. He could make a sandwich. He may toast some broad. He might eat it later": http://darth.vader.bread.jpg.to/
There doesn't appear to be any size checking at all. I got a doozy:
Works like expected: http://fffffffuuuuuuuuuuuu.jpg.to
Reddit will have a field day with this.
http://bing.jpg.to/ (what you'd expect)
http://google.jpg.to/ (not what you'd expect)
Just because an image is on the internet does not mean you can reproduce it. I ran a couple of words I knew return copyrighted images and sure enough they come up.
Delete upon owner request (a la DMCA) is a legal maneuver. You should be able to parse out if an image is licensed as Creative Commons or public domain and show only those pictures. Else assume all rights reserved.
Not to pick on your project but it's time that people try to do better than take the easiest path of show all images (without attribution) because it was the most convenient thing to do.
(If you are going to do the delete on owner request thing, at least consider providing an immediate link to delete without 1) have to mail a paper request in, 2) having to sign in or 3) some other onerous route to delete)
For example: http://kittens.jpg.to/301.jpg
Another feature could be to return a random result for that image search.
For example: http://ass.jpg.to/random.jpg
Being able to choose what I want for my placeholder would be extremely useful.
behind-the-scene technical aspect are not difficult to realize (either google image API, which is deprecated, or parse the result of http://www.google.com/search?tbm=isch&hl=en&source=h... and get the first image url after a predefined string anchor, say <span class=rg_ctlv>), but the idea to simplify input and output is brilliant.
To deal with not-so-good image search result: since google image search is presenting the result in a thumbnail group, it might be worthwhile to look into their ranking scheme for the result. It might be that the first one (on the top left) is not the most relevant result. It won't shock me if google ranked the relevance of result from center to peripheral. In the end that's how we look at a pile of images--we tend to start from the middle. Try a few examples, from the ones I tried the middle row middle column image is much more relevant than the top left result.
just my two cents.
Give user option to get more photo (in ways like: /1, /2) as the index of result page. Or even randomize the result (provide an option to random deliver the result, so same call doesn't result in the same image) might serve the user good. lots of ideas.
I did a little bit of research about it few years ago; the summary can be seen here:
http://temporal.pr0.pl/devblog/2009/09/14/eksperyment-podsum... (pl_PL)
http://translate.google.com/translate?sl=pl&tl=en&js... (en_US)
Basically, I was able to distinguish between embedded and directly accessed images by analyzing the content of Accept header. It wasn't perfect (it didn't work for Opera), but I think it could be good enough to do something useful with it.
But then if I needed a 500x500 picture of Bruce Willis, because who doesn't, I could go to http://bruce_wilis.jpg.to/500x500
Fun little app. Nice work.
Top result in Google Images? Looks like it anyway.
Thanks for giving me something to pay with while waiting on the slowest server in the world at work :)
Other than that, I'm liking this and looking forward to the extra parameters.
javascript:(function(){var A='';if(window.getSelection) A=window.getSelection().toString();else if(document.getSelection) A=document.getSelection().toString();else if(document.selection) A=document.selection.createRange().text;A=A.replace(/\s+/,'-');if(A===''||!/^[a-z0-9_\-]+$/i.test(A))A='try-again';window.open('http://'+encodeURIComponent(A.toLowerCase())+'.jpg.to');}());
not tested at all.1. Can you make this faster to type than a browser extension that searches from the address bar (or in Chrome's case, omnibox)?
2. How do you account for false positives, like a picture that doesn't match the word?
hn.jpg.to, on the other hand, is probably not related to hacker news :)
Nice.
also the dns is not setup corectly to handle spaces in domains mentioned here
After not seeing any, I decided to just try my name ... and found a football player.
And it's not even limited to jpg, cf. http://drumroll.jpg.to/
http://111111.jpg.to/ (I was hoping to get something related to November/11/2011 here).