Ernie Schroder wrote:
> Not Gentoo specific but apparently specific to Linux.
>
> I belong to several motorcycle forums and since a site upgrade on one of them 
>  
> a while back, clicking on posted thumbnails opens a new window with the .jpg 
> code instead of the larger picture. It is only this one site that does this 
> and it does the same thing in firefox, opera and konqueror. Below is the link 
> from a right click on a thumbnail. Does the code look strange? I'm not a php 
> guy and can't figure it out.
>
> http://www.harleyshoptalk.org/forums/index.php?act=Attach&type=post&id=8197
>   

It looks like the web server is not sending the correct content-type
headers to the clients. The one who is responsible for the web-server
should check the configuration files.

For more specific answer, please, give more info. At least the operating
system, web-server and php version. I assume it is some king of linux +
apache. Apache has a file called mime.types and this file should contain
a line like:

"image/jpeg                      jpeg jpg jpe"

and a file called "magic" (yes, magic, it's not a joke) which should
contain a line:

"0       beshort         0xffd8          image/jpeg"



HTH

-- 
Best regards,
Daniel


-- 
gentoo-user@gentoo.org mailing list

Reply via email to