Image Hotlinking

Discussion in 'Water Cooler' started by Nick, Jun 23, 2009.

  1. Nick

    Nick Regular Member

    7,441
    218
    458
    Do you prevent hotlinking of images on your server? Did you do it just to do it, or was it becoming a problem, leeching all of your bandwidth?
     
  2. Tyler

    Tyler The Badministrator

    3,079
    63
    694
    I've never done it before because it's never been a problem (yet). I probably would when needed, but I do know what it's like to be the hotlinker seeing the annoying "don't hotlink you idiot" image after you post. :shifty:
     
  3. kev

    kev Regular Member

    1,224
    61
    434
    bandwidth is cheap these days, so that should no be a problem.

    I do not worry about hotlinking. Who has the time to check all of the images posted to see if their hotlinked?
     
  4. Abomination

    Abomination Zealot

    1,514
    102
    458
    If you had Albums enabled on AA and people posted a picture hosted on AA as an image link, when people quoted the picture www.adminaddict would show up.


    Seems like inexpensive (and classy) advertising to me.

    wouldn't the google ranks go up for AA when that happens?
     
  5. Chris

    Chris Regular Member

    5,422
    86
    434
    Albums are indeed enabled here. ;)
     
  6. FullMetalBabe

    FullMetalBabe Zealot

    2,912
    339
    502
    I kind of don't know how to do this...
     
  7. Nick

    Nick Regular Member

    7,441
    218
    458
    You don't manually check. You set it up on your server.

    Haven't you ever seen when somebody tries to post an image (using the IMG code, for example) and the result is an unexpected "Do not hotlink our images" image? That's what hotlink prevention is.
     
  8. ArnyVee

    ArnyVee Regular Member

    1,264
    39
    404
    How could you make it so that if/when someone uses one of the pics on your site that your URL was listed with it when it displayed? Would it just be easier to use something like a watermark mod like this ....

    PB Watermark Album Images - vBulletin.org Forum
     
  9. FullMetalBabe

    FullMetalBabe Zealot

    2,912
    339
    502
    I really want to learn how to prevent hot linking. I guess I'll browse around.
     
  10. Disasterpiece

    Disasterpiece Addict

    60
    0
    62
  11. FullMetalBabe

    FullMetalBabe Zealot

    2,912
    339
    502
    Thank you very much!
     
  12. tryfuhl

    tryfuhl Champion

    390
    14
    104
    In your .htaccess

    To disallow hotlinking

    Code:
    RewriteEngine on
    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^http://(www\.)?mydomain.com/.*$ [NC]
    RewriteRule \.(gif|jpg|png|bmp)$ - [F]
    To display an alternate file (such as one that says come visit this site to see the image):

    Code:
    RewriteEngine on
    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^http://(www\.)?mydomain.com/.*$ [NC]
    RewriteRule \.(gif|jpg|png|bmp)$ http://www.mydomain.com/replacementimage.jpg [R,L]
    And here is a link that will explain how to watermark hotlinked images:

    Tutorials - Smarter hotlink prevention
     
    4 people like this.
  13. FullMetalBabe

    FullMetalBabe Zealot

    2,912
    339
    502
    \o.o/ Wooo0ot I learned 4 things today!
     
  14. Chris

    Chris Regular Member

    5,422
    86
    434
    The members of this community deliver. :thumbup:
     
  15. FullMetalBabe

    FullMetalBabe Zealot

    2,912
    339
    502
    \o.o/ I completely agree with ya, now to learn not to mess the .htacess! xD
     
  16. Abomination

    Abomination Zealot

    1,514
    102
    458
    Sorry I did not respond, thanks for the info.



    This thread might make a fantastic article! I can envision having a subtle watermark being useful for my needs.
     
  17. tryfuhl

    tryfuhl Champion

    390
    14
    104
    We receive dozens of hits from google images a day, though none of them are hosted on our server (with the exception of an avatar here and there) but if we did, a hotlink watermark would definitely be implemented

    I find just a nice little gradient black to grey bar with the domain name in white looks best while still drawing attention, people won't be afraid to repost the image elsewhere because it doesn't have a huge:

    HOSTED AT URIMGSFTW.COM!!#!!!!!@ across it
     
  18. FullMetalBabe

    FullMetalBabe Zealot

    2,912
    339
    502
    ;D I did mine and it's actually sortof cute.
     
  19. Nick

    Nick Regular Member

    7,441
    218
    458

Share This Page