Results 1 to 10 of 10

Thread: Image loads as text in browser

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jan 2005
    Posts
    150

    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

  2. #2
    Frenzied Member
    Join Date
    Aug 2005
    Posts
    1,042

    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?

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Jan 2005
    Posts
    150

    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

  4. #4
    PowerPoster Pc_Madness's Avatar
    Join Date
    Dec 2001
    Location
    Melbourne, Australia
    Posts
    2,765

    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:
    Don't Rate my posts.

  5. #5
    Fanatic Member
    Join Date
    Oct 2004
    Posts
    751

    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...
    My Projects: [ Instant Messagener Client/Server ] [ VBPictochat ]

    My Sites:
    [ Datanethost ]
    [ Helpdesk ]

    Remember if my post was helpful then Rate This Post.

  6. #6

    Thread Starter
    Addicted Member
    Join Date
    Jan 2005
    Posts
    150

    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

  7. #7
    PowerPoster Pc_Madness's Avatar
    Join Date
    Dec 2001
    Location
    Melbourne, Australia
    Posts
    2,765

    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.
    Don't Rate my posts.

  8. #8
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594

    Re: Image loads as text in browser

    The server serves the image as text/html MIME - easily confirmed using the developer toolbar.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  9. #9

    Thread Starter
    Addicted Member
    Join Date
    Jan 2005
    Posts
    150

    Re: Image loads as text in browser

    any idea why though?

  10. #10
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594

    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.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width