View Single Post
Old 03-12-2008, 12:09 PM  
Kevsh
Confirmed User
 
Join Date: Dec 2004
Location: TO
Posts: 8,619
Quote:
Originally Posted by MediaGuy View Post
Ok as weird as those two pics are... this is weirder to me.

I came back and right-clicked the images to see if I'd done a noobiocy with the links, but they came out right..

When I back-buttoned to the thread again - YIKE there were no red-x's, the pictures were in the anchors...

So somebody more knowledgy than me can maybe tell me why now when I open a new browser and come back to this, there's no red-x?

Would it have to do with the double-hyphen in the file name?

Teach me, babies, teach me!
My French is a little rusty, but let me try to explain.;)

I believe it's your browser caching the images. I have hotlinked pics in the past and previewed a few times to be sure they're not protected - they show up fine regardless how many times I check. Then, after posting the new thread, the images (in the thread itself) don't show up.

Basically, it's a shortcoming in Apache's hotlink protection (assuming they are using .htaccess to do it): You see the image the first time - the shortcoming - "linked" from the preview page. When you preview the post the .htaccess kicks in and blocks it, but the image is now in your cache, associated with the actual preview page (notice the uniuqe 'p' value in the URL?). But when you view the images in the actual post, it's a new page (note the URL again) so the blocking works and the cache can't pull the image - it's trying to grab it from the hotlinked site.

That doesn't make a lot of sense to me and I wrote it, but that's basically how it works.
Kevsh is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote