Read this - maybe you know the answer [Google Images stuff]

Discussion in 'Google' started by Nosfer, Oct 31, 2008.

  1. #1
    I have a website that has a lot of visits ~ over 20,000 a month from Google Images. Now the problem is users find my images with that search engine and quickly click the "view large size" thing that redirects them to .jpeg file. This means that they reach to the picture, not a page with ads and i can't earn anything from those visits.

    If there would be a way to disallow them to view .jpg file with "view large size" and read the post i could benefit a lot from those visits. Someone also told me that it's possible to create an image.php that will appear when they try to view that picture but my coding skills really suck so that's out of question.

    Anyway... how do you earn anything from Google Images visits? I mean... these 20k could bring me at least $40/month in adsense if they would see a page with ads when they want to view only the picture.
     
    Nosfer, Oct 31, 2008 IP
  2. sweetfunny

    sweetfunny Banned

    Messages:
    5,743
    Likes Received:
    467
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Put this in your <head> section:

    
    <script language="JavaScript1.1" type="text/JavaScript"><!-- Hide from old browsers.
    if(parent.frames.length > 0) top.location.replace(document.location); // Escape from any referring site's frame, but preserve one-click "Back". --></script>
    </script>
    
    HTML:
    It fully complies with Adsense also because it preserves back button functionality. ;)
     
    sweetfunny, Nov 1, 2008 IP
    Nosfer likes this.
  3. IEmailer.com

    IEmailer.com Well-Known Member

    Messages:
    1,864
    Likes Received:
    27
    Best Answers:
    0
    Trophy Points:
    110
    #3
    Well, i think you have got the best solution above.. thanks sweetfunny for the frame breaker script ;)
     
    IEmailer.com, Nov 1, 2008 IP
  4. farhajr

    farhajr Well-Known Member

    Messages:
    2,108
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    130
    #4
    can someone tell me how to SEo for images??
     
    farhajr, Nov 1, 2008 IP
  5. farhajr

    farhajr Well-Known Member

    Messages:
    2,108
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    130
    #5
    can someone tell me how to SEo for images??
     
    farhajr, Nov 1, 2008 IP
  6. byyp

    byyp Active Member

    Messages:
    614
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    85
    #6
    Hi sweetfunny, thanks for your code. However, when I try to put it in the header.php on my blog somewhere before "/head", I do not see it working..:eek:. Where am I doing wrong? Kindly explain. Thanks a bunch!
     
    byyp, Nov 1, 2008 IP
  7. Nosfer

    Nosfer Well-Known Member

    Messages:
    1,799
    Likes Received:
    50
    Best Answers:
    0
    Trophy Points:
    140
    #7
    I used to have a similar script in header.php but it's working pretty slow. I mean... the transfer from frame to blogpost will take 5 to 10 seconds and in that time most users click to view the large size and i loose them.

    this was the script i had:
    <script language="JavaScript" type="text/javascript">
    if (top.location != self.location) top.location.replace(self.location);
    </script>
    Code (markup):
    @ farhajr - you can optimitze images for google by giving to each of them a unique title and description that you think people will search on Google Images
     
    Nosfer, Nov 1, 2008 IP
  8. myemailid911

    myemailid911 Banned

    Messages:
    33
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    checkout the mod rewrite features of htaccess
     
    myemailid911, Nov 1, 2008 IP
  9. Nosfer

    Nosfer Well-Known Member

    Messages:
    1,799
    Likes Received:
    50
    Best Answers:
    0
    Trophy Points:
    140
    #9
    it hasn't got anything to do with the mod rewrite :)
     
    Nosfer, Nov 1, 2008 IP
  10. myemailid911

    myemailid911 Banned

    Messages:
    33
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10
    What I ment say was ,If you use the MOD rewrite rule to redirect those who are direct linking to your jpg images (via other pages OR referring from other domain ,then it can help you.Although i su*k at apache coding but I guess this will be the correct code

    RewriteEngine on
    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?YOURSITE.com [NC]
    RewriteRule \.(jpg|jpeg|png|gif)$ http://YOURSITE.com/ [NC,R,L]
    Code (markup):
    As I already said,this might not be the correct code but hope you get my point


    EDIT : You got a better solution by sweetfunny ;)
     
    myemailid911, Nov 1, 2008 IP
  11. evolveforever

    evolveforever Peon

    Messages:
    1,286
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    0
    #11
    just see to it that u add the alt tags and the title for every image you upload.some people also change their filenames to keywords .
     
    evolveforever, Nov 1, 2008 IP