Welcome Guest ( Log In | Register )



2 Pages V  < 1 2  
Reply to this topicStart new topic
> Show External Images Without Hotlinking!
Unregistered 011
post Oct 20 2007, 11:35 PM
Post #11


Advanced Member
Group Icon

Group: Members
Posts: 152
Joined: 24-May 07
Member No.: 22,135



That's a cool way even though, technically you're still hotlinking though lol. I find that unless the images are insanely huge, it shouldn't be a problem just to host it yourself. Or just upload it to imageshack. I have flickr pro, which has unlimited uploading, so I can shove as many pictures, and display it on other sites.

It's a pretty cool tutorial though.




Go to the top of the page
 
+Quote Post
TavoxPeru
post Oct 21 2007, 04:40 AM
Post #12


Super Member
Group Icon

Group: [HOSTED]
Posts: 794
Joined: 8-April 06
From: Lima - Peru
Member No.: 12,579
myCENTs:78.07



I just test this cool code to see if it works correctly and i found that it works perfectly, but it can be blocked even if you enable the Hotlinking protection that comes with CPanel, if someone know how to block this please share with us the solution.

Also with few changes it can work with other images files like JPG, PNG, etc.

Best regards,
Go to the top of the page
 
+Quote Post
vizskywalker
post Oct 21 2007, 07:24 PM
Post #13


Techno-Necromancer
Group Icon

Group: Members
Posts: 1,018
Joined: 13-January 05
From: The Net
Member No.: 2,127



I'm not sure there is a way to block scripts like this in general. This particular one, yes, but not in general. The reason is that web browsers still need to be able to download the images to show to people visiting your site. Scripts can easily pretend to be known browsers, and then there is no good way to prevent this kind of hotlinking.

~Viz
Go to the top of the page
 
+Quote Post
Habble
post Oct 22 2007, 05:48 AM
Post #14


Premium Member
Group Icon

Group: [HOSTED]
Posts: 286
Joined: 17-June 07
From: Tasmania
Member No.: 22,699



I never quite realised when I wrote the script, that it still hotlinked. I was trying to prevent it hotlinking at the client end, and I forgot all about the server end.
I use this kind of scripts on my own website, getting images from a site where you're allowed to. I don't know if this is just me, but I don't like putting images on a page where the src="" is from another website. It just doesn't seem "clean" to me. But maybe that's just me being weird.
Go to the top of the page
 
+Quote Post

2 Pages V  < 1 2
Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Creating Rollover Images With Css(12)


 



- Lo-Fi Version Time is now: 20th November 2008 - 08:46 AM