Restricting google image search

Discussion in 'Site & Server Administration' started by swollenpickles, Nov 7, 2007.

  1. #1
    I have a question about restricting what google image search can do/display.

    When people go to the google image search result page (with the frame) eg. this one:
    http://images.google.com.au/imgres?...42&gbv=2&ndsp=21&svnum=10&hl=en&safe=off&sa=N

    I don't want people to be able to click on the thumbnail and open the image by itself. eg. like this:
    http://www.swollenpickles.com/wp-content/uploads/2007/08/lindsay_lohan_camel_toe.jpg

    Is this possible? How can I do it? And would it incur a google slap?
     
    swollenpickles, Nov 7, 2007 IP
  2. Edynas

    Edynas Peon

    Messages:
    796
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    0
    #2
    i was just thinking about asking the same question.
    Isee in my stats a lot of google images search results

    I know there is a framebraking piece of code in javascript but i was thinking about not allowing to view an image by itself..maybe using a htaccess

    the framebreaking javascript is:
    <script language="JavaScript" type="text/javascript">
    if (top.location != self.location) top.location = self.location;
    </script>
    Code (markup):
     
    Edynas, Nov 8, 2007 IP
  3. swollenpickles

    swollenpickles Active Member

    Messages:
    1,271
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    80
    #3
    thanks, ive seen that javascript but heard of it resulting in a google slap. I can't confirm that though.
     
    swollenpickles, Nov 8, 2007 IP