no dynamic IMAGE ?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Manu

    no dynamic IMAGE ?

    Hello, i ve a little problem for validate my web site because i ve a dynamic
    image.
    And the w3c platform test don't like my image :(

    il someone have a idea for this problem

    i've just a img src but the src is a dynamic php file called. So i need to
    send somes information for good process.

    what s wrong ?

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <HTML>
    <HEAD>
    <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
    <title>Administ ration</title>

    </HEAD><BODY BGCOLOR="#FFFFF F" >
    <img
    src="photo.php? iL=100&iH=100&s File=/template256.jpg &cColor=0_0_0&s Sortie=ecr
    an&iCompress=80 &sShrink=no" name='imgvisu' width=100 height=100 alt=''>

    </BODY>
    </HTML>



  • JAMESICUS

    #2
    Re: no dynamic IMAGE ?

    URL?

    Comment

    • Steven Dilley

      #3
      Re: no dynamic IMAGE ?

      "Manu" <manu@cyklades. com> wrote in message
      news:bh0egs$sqc $1@news-reader2.wanadoo .fr...[color=blue]
      > Hello, i ve a little problem for validate my web site because i ve a[/color]
      dynamic[color=blue]
      > image.
      > And the w3c platform test don't like my image :(
      >
      > il someone have a idea for this problem
      >
      > i've just a img src but the src is a dynamic php file called. So i need to
      > send somes information for good process.
      >
      > what s wrong ?
      >
      > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
      > <HTML>
      > <HEAD>
      > <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
      > <title>Administ ration</title>
      >
      > </HEAD><BODY BGCOLOR="#FFFFF F" >
      > <img
      >[/color]
      src="photo.php? iL=100&iH=100&s File=/template256.jpg &cColor=0_0_0&s Sortie=ecr[color=blue]
      > an&iCompress=80 &sShrink=no" name='imgvisu' width=100 height=100 alt=''>
      >
      > </BODY>
      > </HTML>
      >[/color]

      The validator says:
      Line 9, column 22: cannot generate system identifier for general entity "iH"
      Line 9, column 29: cannot generate system identifier for general entity
      "sFile"
      Line 9, column 52: cannot generate system identifier for general entity
      "cColor"
      Line 9, column 65: cannot generate system identifier for general entity
      "sSortie"
      Line 10, column 3: cannot generate system identifier for general entity
      "iCompress"
      Line 10, column 16: cannot generate system identifier for general entity
      "sShrink"

      It is looking at &iH=100, and thinks that is an entity (like &nbsp;)
      Solution: escape each of your ampersands (replace with &amp;)

      Comment

      • Martin Honnen

        #4
        Re: no dynamic IMAGE ?



        Manu wrote:[color=blue]
        > Hello, i ve a little problem for validate my web site because i ve a dynamic
        > image.
        > And the w3c platform test don't like my image :(
        >
        > il someone have a idea for this problem
        >
        > i've just a img src but the src is a dynamic php file called. So i need to
        > send somes information for good process.
        >
        > what s wrong ?
        >
        > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
        > <HTML>
        > <HEAD>
        > <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
        > <title>Administ ration</title>
        >
        > </HEAD><BODY BGCOLOR="#FFFFF F" >
        > <img
        > src="photo.php? iL=100&iH=100&s File=/template256.jpg &cColor=0_0_0&s Sortie=ecr
        > an&iCompress=80 &sShrink=no" name='imgvisu' width=100 height=100 alt=''>[/color]

        I guess you need
        <img src="photo.php? iL=100&amp;iH=1 00&amp;sFile=te mplate256.jpg
        and so on, that is replace & in the query string with &amp;



        --

        Martin Honnen


        Comment

        • Stephen Poley

          #5
          Re: no dynamic IMAGE ?

          On Fri, 08 Aug 2003 13:53:03 -0500, "Shawn K. Quinn"
          <skquinn@xeviou s.kicks-ass.net> wrote:
          [color=blue]
          >Manu wrote:
          >[color=green]
          >> Hello, i ve a little problem for validate my web site because i ve a
          >> dynamic image.
          >> And the w3c platform test don't like my image :([/color]
          >[...][color=green]
          >> what s wrong ?[/color]
          >
          >Holy cow patties, what *isn't* wrong?[/color]

          A slight over-reaction here, I feel.
          [color=blue][color=green]
          >> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">[/color]
          >
          >This is wrong. New documents should be using HTML 4.01 Strict.[/color]

          Generally a good idea, but not where a lot of visitors are still using
          NN4 (e.g. some academic environments). And anyway the OP didn't say it
          was a new document.

          [color=blue][color=green]
          >> <HTML>
          >> <HEAD>
          >> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">[/color]
          >
          >This is wrong. You shouldn't need it. You should reconfigure the server to
          >send this header instead.[/color]

          No, it's not wrong. Getting the server to send the headers is
          undoubtedly the preferred method, but this line is not wrong. What if,
          for example, an author wishes to do off-line validation?
          [color=blue][color=green]
          >> <img
          >>[/color]
          >src="photo.php ?iL=100&iH=100& sFile=/template256.jpg &cColor=0_0_0&s Sortie=ecr[color=green]
          >> an&iCompress=80 &sShrink=no" name='imgvisu' width=100 height=100 alt=''>[/color]
          >
          >This is wrong. There are no entities named &ih, &sFile, etc. The ampersand
          >is properly represented in HTML by "&amp;" as "&" by itself is reserved to
          >indicate the start of entities.[/color]

          Finally I agree with you. ;-)

          --
          Stephen Poley


          Comment

          • Manu

            #6
            Re: no dynamic IMAGE ?

            OK ! thank you ! every body s !
            go to w3c certification :)


            "Manu" <manu@cyklades. com> a écrit dans le message news:
            bh0egs$sqc$1@ne ws-reader2.wanadoo .fr...[color=blue]
            > Hello, i ve a little problem for validate my web site because i ve a[/color]
            dynamic[color=blue]
            > image.
            > And the w3c platform test don't like my image :(
            >
            > il someone have a idea for this problem
            >
            > i've just a img src but the src is a dynamic php file called. So i need to
            > send somes information for good process.
            >
            > what s wrong ?
            >
            > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
            > <HTML>
            > <HEAD>
            > <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
            > <title>Administ ration</title>
            >
            > </HEAD><BODY BGCOLOR="#FFFFF F" >
            > <img
            >[/color]
            src="photo.php? iL=100&iH=100&s File=/template256.jpg &cColor=0_0_0&s Sortie=ecr[color=blue]
            > an&iCompress=80 &sShrink=no" name='imgvisu' width=100 height=100 alt=''>
            >
            > </BODY>
            > </HTML>
            >
            >
            >[/color]


            Comment

            Working...