----- Original Message ----- From: "bigballball007" Sent: Tuesday, April 15, 2008 9:44 AM Subject: [php-list] Strange problem : Cannot display images
> I come across a strange problem but not sure if it is related to the > PHP. I run a phpbb forum and I post a post with some images which link > from another site using <img>. > > But when I read that pages , no images but the famous error cross > image shown. I don't know why the images cannot be shown up , so I > check the page source I received and it is correct ( for example <img > border="0" src="http://somesite.com/somepic. jpg"/> ) . > > To verify it the <img> is correct , I then copy the page source I > received and save them as another .html page and open it using the > browser. I can then see the picture shown up correctly , so I can > confirm that the <img> code and the image link generated by the phpbb > is correct . > > Only the images in the post content cannot be displayed . Another > images such as the forum header and footer can be displayed correctly > . Any idea ??? If you are hotlinking to a site that doesn't belongs to you, the site owner will not be pleased, as you are using their bandwidth and could be slowing their site down. Depending on how it's hosted, it could cost the site owner a great deal of money in excess bandwidth charges. If the image is posted on a message board that includes the original message in each reply, 10 replies can mean it will display the image 10 times. If the message board is well used, this can amount to a great deal of stolen bandwidth. This is exactly what was happening to me a while ago, and as I have a great deal of images. Hotlinking was using more bandwidth than my own site's visitors. The site you're trying to hotlink to is probably using an .htaccess file to ban you from doing this. It isn't a 100% effective, and I now use other methods to stop it. If the site owner has a daily visitors log, they will know where the hotlinking is coming from, so expect some complaints. Bob E.
