Image loads as text in browser
Hello I am a forum admin
when I upload an image the thumbnail loads fine but when I clcik the thumbnail to enlarge the larger image appears in its charcter format for some reason.
any of you know what the problem is?
the forum url is portadownfc.co.uk
Thanks in advance
Re: Image loads as text in browser
eakin:
It would be a lot easier to try and help you if you posted the code that is causing the problem.
Are you sure your format for the enlarged image is correct? Does the enlarged image display correctly when you open it in an image program like Paint?
Re: Image loads as text in browser
which part of code do you need to see?
yes the picture is fine, If I download from teh server it opens fine
It just wont display correctly in the browser for any user of the forum
Re: Image loads as text in browser
There aren't many forum admins on this site unfortunately, so your probably best off to visit the official IBP site (assuming you have a license)
Example Thread:
http://www.portadownfc.co.uk/forum/i...showtopic=2104
I guess it would just be the server sending the wrong mime type :unsure:
Re: Image loads as text in browser
@Pc_Madness
That is the only thing that could be happening that the image would appear as text, it is telling the browser that the picture is html/text when it should be html/image I believe...
Re: Image loads as text in browser
I have access to the forums but don't really want to be messing abt as quite a lot of people use this forum. Some people have said it could be the mime type but as far as I can see it is set to allows images.
Is there any code you need to see?
Please be specefic in what you need to be able to fix this problem
Your help is greatly appreciated
Re: Image loads as text in browser
Its not a problem with PHP as far as I can tell. Its either that Invision Board isn't setup properly or theres something wrong with your host (brinkster?). Your best off emailing them, or trying a Invision Board support site.
Re: Image loads as text in browser
The server serves the image as text/html MIME - easily confirmed using the developer toolbar.
Re: Image loads as text in browser
Re: Image loads as text in browser
Bug in the upload script? Bug in the download script? Problem with the forum config? The server config?
Can't tell from here.