Announcement: Be excellent to each other.


Caravel Forum : Caravel Boards : The Site : Linked room image
New Topic New Poll Post Reply
Poster Message
gds
Level: Delver
Rank Points: 50
Registered: 02-06-2004
IP: Logged
icon Linked room image (+1)  
There is a problem with some room images when inserted as a link, (this one for example).

Under mozilla firefox, it shows up as gibberish. I assume it is because send the image as text/plain when the mimetype should be ... whatever it is for png.

03-28-2004 at 06:45 PM
View Profile Send Private Message to User Show all user's posts Quote Reply
gds
Level: Delver
Rank Points: 50
Registered: 02-06-2004
IP: Logged
icon Re: Linked room image (0)  
Actually, it sends the image as text/html when it should be image/png (thanks Page Info in firefox).

It actually seems to be a caching issue but I don't know if it is on the server or client side. The first time i look at an image as link, it works fine. If i click on it again it shows up at gibberish.

I cleared my browser cache and it didn't solve the problem.

[Edited by gds on 03-28-2004 at 05:59 PM GMT: pinpointed problem]
03-28-2004 at 06:50 PM
View Profile Send Private Message to User Show all user's posts Quote Reply
DiMono
Level: Smitemaster
Avatar
Rank Points: 1181
Registered: 09-13-2003
IP: Logged
icon Re: Linked room image (0)  
This has actually been brought up before, but it's very good that you found that odd behaviour with specific rooms. Is it possible the script isn't sending the right (any?) MIME type?

____________________________
Deploy the... I think it's a yellow button... it's usually flashing... it makes the engines go... WHOOSH!
03-28-2004 at 06:57 PM
View Profile Send Private Message to User Send Email to User Visit Homepage Show all user's posts This architect's holds Quote Reply
gds
Level: Delver
Rank Points: 50
Registered: 02-06-2004
IP: Logged
icon Re: Linked room image (0)  
Oops, I edited my post while you replied.

It's not to do with specific rooms but with reloading an image.

I think the problem might be on the server side, as it did it for a link I had never looked at (in the loony labyrinth thread)
03-28-2004 at 07:01 PM
View Profile Send Private Message to User Show all user's posts Quote Reply
Schik
Level: Legendary Smitemaster
Avatar
Rank Points: 5416
Registered: 02-04-2003
IP: Logged
icon Re: Linked room image (0)  
It was a server-side caching problem. I cache the images so the server doesn't have to do as much work. Thus, if showroom.php finds a cached version of the pic, it just sends it, but it was forgetting to add a Content-Type header. I've added it in, and it works in firefox for me now.

____________________________
The greatness of a nation and its moral progress can be judged by the way it treats its animals.
--Mahatma Gandhi
03-29-2004 at 12:46 AM
View Profile Send Private Message to User Send Email to User Show all user's posts High Scores Quote Reply
New Topic New Poll Post Reply
Caravel Forum : Caravel Boards : The Site : Linked room image
Surf To:


Forum Rules:
Can I post a new topic? No
Can I reply? No
Can I read? Yes
HTML Enabled? No
UBBC Enabled? Yes
Words Filter Enable? No

Contact Us | CaravelGames.com

Powered by: tForum tForumHacks Edition b0.98.8
Originally created by Toan Huynh (Copyright © 2000)
Enhanced by the tForumHacks team and the Caravel team.