Hotlinking to Images

Discussion in 'Site & Server Administration' started by shirsc2, Oct 27, 2005.

  1. #1
    I recently found a picture on my site that is in google images. It seems that many forums are linking to the picture, not an actual link to the website. Everytime i go to check my latest 300 visitors, pretty much all that shows up is all these forums that are linking to the picture. Is this bad? I don't think i'm getting any visitors from this, they are hotlinking to the picture.

    Is there something i should do?
     
    shirsc2, Oct 27, 2005 IP
  2. Ian

    Ian Well-Known Member

    Messages:
    409
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    125
    #2
    Watch your bandwidth. If you're getting hotlinked from forums, there really isn't any benefit as they're just eating your resources. I just went through this and used a .htaccess file to block the individual sites that were causing the issue. PM me if you need the code to block them.

    Ian
     
    Ian, Oct 27, 2005 IP
  3. shirsc2

    shirsc2 Peon

    Messages:
    439
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #3
    i came up with something better i think. i added Visit BlueTomorrow.com for more information about the Bluetooth PS3 Controller, around the picture so i at least get some advertisment for my website. Good idea?

    This is what they see now:

    http://www.gamespot.com/forums/show_msgs.php?topic_id=23886556&page=1


    You may have to scroll down a little to see the picture
     
    shirsc2, Oct 27, 2005 IP
  4. lorien1973

    lorien1973 Notable Member

    Messages:
    12,206
    Likes Received:
    601
    Best Answers:
    0
    Trophy Points:
    260
    #4
    That'd be a great way to advertise. If an image is hotlinked, put your logo on it to get the advertisement. Otherwise, if its displayed on the same domain, don't put the logo. Is that possible at all to do - on the fly?
     
    lorien1973, Oct 27, 2005 IP
  5. shirsc2

    shirsc2 Peon

    Messages:
    439
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #5
    what do you mean if its displayed on the same domain? I just did it in Paint (no graphic program). Did u take a look at what i did?
     
    shirsc2, Oct 27, 2005 IP
  6. lorien1973

    lorien1973 Notable Member

    Messages:
    12,206
    Likes Received:
    601
    Best Answers:
    0
    Trophy Points:
    260
    #6
    Yes I did see that. I was just wondering if it is possible to expand it...

    If your domain is xyz.com and you display an image, then no logo is shown (such as what you did). But if someone from abc.com decides to hotlink your image, then the logo shows up on there (thru a clever server switch or through automatic image branding).

    For my joke site, I have some sites hotlinking images from me already, and its killing my bandwidth use, so I'm looking for a solution that would let people do it, but I'd like to get a little something out of it too.
     
    lorien1973, Oct 27, 2005 IP
  7. diamondsinfo

    diamondsinfo Peon

    Messages:
    165
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Great way to advertise in return for someone using your bandwidth! I'll have to try it next time it happens to me...

    I would make a copy of the original image and give it a new name on my site, then leave the original named image with the ad copy to be downloaded by the site that the posting was on.
     
    diamondsinfo, Oct 27, 2005 IP
  8. shirsc2

    shirsc2 Peon

    Messages:
    439
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #8
    the logo might be a good way to do it. I would have to wait till i got home to actually do something like that. It was just annoying seeing countless number of forums who were linking to the image. Maybe this will pick up traffic to my site.
     
    shirsc2, Oct 27, 2005 IP
  9. mopacfan

    mopacfan Peon

    Messages:
    3,273
    Likes Received:
    164
    Best Answers:
    0
    Trophy Points:
    0
    #9
    It's possible if you have a image control on the server you can call.
     
    mopacfan, Oct 27, 2005 IP
  10. shirsc2

    shirsc2 Peon

    Messages:
    439
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #10
    So you're saying have the original photo (different file name) on my website and have the new one just sit on the server for people who are already hot linking to it to download? Good idea!!!

     
    shirsc2, Oct 27, 2005 IP
  11. Roman

    Roman Buffalo Tamerâ„¢

    Messages:
    6,217
    Likes Received:
    592
    Best Answers:
    0
    Trophy Points:
    310
    #11
    if you have cPanel, there is a hotlink protection option. You can even redirect to any picture that you want to serve instead. ie: your logo.
     
    Roman, Oct 27, 2005 IP
  12. diamondsinfo

    diamondsinfo Peon

    Messages:
    165
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #12
    Exactly, that way the image remains the way you wanted it on your own site, but the one that is hotlinked can have your ad copy showing.
     
    diamondsinfo, Oct 27, 2005 IP
  13. shirsc2

    shirsc2 Peon

    Messages:
    439
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #13
    i have unmetered bandwidth so i dont' think i have to worry too much about bandwidth so telling them where to go to get more information could work. Is there a way to measure if anyone actually comes to my site because of the ad on the picture?
     
    shirsc2, Oct 27, 2005 IP
  14. diamondsinfo

    diamondsinfo Peon

    Messages:
    165
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #14
    If you created a new page specifically for this and put that URL in the image then if someone went there, you would know from your logs that they came from the hotlinked image. This would not be 100% accurate of course, as someone could just go to your main homepage URL instead of typing in the whole specific page that you want them to go to but it could give you some idea.
     
    diamondsinfo, Oct 27, 2005 IP
  15. dougadam

    dougadam Active Member

    Messages:
    495
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    58
    #15
    Very good idea shirsc2.

    :)
     
    dougadam, Oct 27, 2005 IP
  16. 313i

    313i hummmmmm. No clue

    Messages:
    1,338
    Likes Received:
    73
    Best Answers:
    0
    Trophy Points:
    0
    #16
    I had this problem too. Got very annoying so I moved all of my images to a new image serving domain and put the hotlink protection on that domain, then called all the images from that new image domain and allowed only my site to show the images with hotlink protection and anyone that tries to steal my bandwidth gets a huge 700x700 ad saying to type in my domain lol.
     
    313i, Oct 27, 2005 IP
  17. lorien1973

    lorien1973 Notable Member

    Messages:
    12,206
    Likes Received:
    601
    Best Answers:
    0
    Trophy Points:
    260
    #17
    I kind of what to encourage hotlinking, because they do count as links and will bring spiders to you. For that reason, I do like them.
     
    lorien1973, Oct 27, 2005 IP
  18. blinxdk

    blinxdk Peon

    Messages:
    660
    Likes Received:
    27
    Best Answers:
    0
    Trophy Points:
    0
    #18
    I use something like the code below, it ensures that pictures can still be found in image searches (90% of my traffic is from google image search), but it stops people hotlinking from forums. The site already pulls 140GB of traffic/month, wouldn't want to think about how much it would be if I allowed people to hotlink.

    The hotlink image shows the url to the site, and it gets a lot of direct requests which I attribute to that. Yup there are some duplicates in it but it works :)

    
    RewriteEngine on
    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^http://(www\.)?zindy.zone.dk(/)?.*$     [NC]
    RewriteCond %{HTTP_REFERER} !^http://(www\.)?google(/)?.*$     [NC]
    RewriteCond %{HTTP_REFERER} !^http://(images\.)?google(/)?.*$     [NC]
    RewriteCond %{HTTP_REFERER} !^http://(www\.)?altavista(/)?.*$   [NC]
    RewriteCond %{HTTP_REFERER} !^http://(images\.)yahoo(/)?.*$     [NC]
    RewriteCond %{HTTP_REFERER} !^http://(.*search\.)yahoo(/)?.*$   [NC]
    RewriteCond %{HTTP_REFERER} !^http://(.*)drawsketch.about.com(/)?.*$    [NC]
    RewriteCond %{HTTP_REFERER} !^http://(.*)accoimages.com(/)?.*$    [NC]
    RewriteCond %{HTTP_REFERER} !^http://(.*)fan-forum.de(/)?.*$    [NC]
    RewriteCond %{HTTP_REFERER} !^http://(search\.)?netscape(/)?.*$     [NC]
    RewriteCond %{HTTP_REFERER} !^http://(.*)globalsearch.cz(/)?.*$     [NC]
    RewriteCond %{HTTP_REFERER} !^http://(.*search\.)wanadoo(/)?.*$   [NC]
    RewriteCond %{HTTP_REFERER} !^http://(.*)a9.com(/)?.*$   [NC]
    RewriteCond %{HTTP_REFERER} !^http://(www\.)?picsearch(/)?.*$     [NC]
    RewriteCond %{HTTP_REFERER} !^http://(search\.)virgilio(/)?.*$     [NC]
    RewriteCond %{HTTP_REFERER} !^http://(aolsearch\.)aol(/)?.*$     [NC]
    RewriteCond %{HTTP_REFERER} !^http://(www.aolimages\.)aol(/)?.*$        [NC]
    RewriteCond %{HTTP_REFERER} !^http://(images\.)aol(/)?.*$     [NC]
    RewriteCond %{HTTP_REFERER} !^http://(image\.)yisou(/)?.*$     [NC]
    RewriteCond %{HTTP_REFERER} !^http://(www\.)?excite(/)?.*$     [NC]
    RewriteCond %{HTTP_REFERER} !^http://(suche\.)?web.de(/)?.*$     [NC]
    RewriteCond %{HTTP_REFERER} !^http://(images\.)?devilfinder(/)?.*$     [NC]
    
    RewriteRule .*\.(jpg)$ http://zindy.zone.dk/hotlink.jpeg [R,NC]
    
    Code (markup):
     
    blinxdk, Oct 27, 2005 IP
  19. 313i

    313i hummmmmm. No clue

    Messages:
    1,338
    Likes Received:
    73
    Best Answers:
    0
    Trophy Points:
    0
    #19
    Good Idea, didn't think about that one.
     
    313i, Oct 27, 2005 IP
  20. mdvaldosta

    mdvaldosta Peon

    Messages:
    4,079
    Likes Received:
    362
    Best Answers:
    0
    Trophy Points:
    0
    #20
    Haha theirs nothing funnier than doing a switcherooni on a hotlinked image! I've done everything from an advert for my site to going hardcore with some gay porn!

    On a side note, how does it count as a backlink unless the image is a clickable link back to your site?
     
    mdvaldosta, Oct 27, 2005 IP