Hotlinked Images - Work Fine For a Minute Then Broken

Discussion in 'Apache' started by kirkpa31, Apr 1, 2013.

  1. #1
    Users can enter images directly into forum posts by entering the URL - exactly like this forum - so that they display inline. However, after about a minute, 75% of the images display as a broken image.

    [​IMG]

    Questions:

    1) Is this b/c the website my users are linking the image from has hotlink protection on through .htaccess with code like the following:

    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?samplewebsite.com [NC]
    RewriteRule \.(jpg|jpeg|png|gif)$ - [NC,F,L]
    Code (markup):
    2) If that is the case, can I override this somehow so that the images not appear as broken? If that's not the case, can I add some sort of code to my .htaccess file to prevent this image breaking from occuring?

    Thank you!!
     
    kirkpa31, Apr 1, 2013 IP