Jump to content

Rewrite for image changing


Gutspiller

Recommended Posts

I have a image hosting site and it's getting hammered by hotlinkers. Fullsized image URLs look like this: http://www.dumpt.com/img/files/1esn8w0g20mmlddwdumo.jpg

Thumbnail URLs look like this: http://www.dumpt.com/img/files/1esn8w0g20mmlddwdumo_thumb.jpg

 

So the thumbnails just add a _thumb at the end of the filename.

 

I've heard that it's possible through htaccess to make it so people that call the fullsize images from their websites and forums are switched what picture they get so that instead of getting the image 1esn8w0g20mmlddwdumo.jpg they get the image 1esn8w0g20mmlddwdumo_thumb.jpg

 

Can somebody help me with this so that my site continues to show the full images, but that any other site that tries to call the fullsize of an image instead gets the thumbnail?

 

Thanks for any help that can be provided!

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.