img src is too long

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

    img src is too long

    I am trying to create a ( xhtml 1.0 transitional ) page that contains
    "img" element.

    The problem is that "src" would be really long. I have tried and some
    where along the way, end of the url is cutted down.

    Does anyone know how to use POST-method for "img" "src"? Or alternate
    means for achieving what I am trying to do..

    Thanks,

    -Pelle-
  • Janwillem Borleffs

    #2
    Re: img src is too long


    "Pelle" <harri.viitamak i@ecomond.com> wrote in message
    news:257d40d3.0 307142349.3859d a86@posting.goo gle.com...[color=blue]
    > I am trying to create a ( xhtml 1.0 transitional ) page that contains
    > "img" element.
    >
    > The problem is that "src" would be really long. I have tried and some
    > where along the way, end of the url is cutted down.
    >
    > Does anyone know how to use POST-method for "img" "src"? Or alternate
    > means for achieving what I am trying to do..
    >[/color]

    When you want to display the image, the only method to use is 'GET'. POST is
    for sending data.

    Cutting down thelength of the src would bethe only option for you.

    JW



    Comment

    • Pelle

      #3
      Re: img src is too long

      Thanks for the info.

      We solved the problem by cutting down the parameter length ( had to do
      some rework in the server-side ).

      -Pelle-


      Grant Wagner <gwagner@agrico reunited.com> wrote in message news:<3F1406A5. 5882FC26@agrico reunited.com>.. .[color=blue]
      > Pelle wrote:
      >[color=green]
      > > I am trying to create a ( xhtml 1.0 transitional ) page that contains
      > > "img" element.
      > >
      > > The problem is that "src" would be really long. I have tried and some
      > > where along the way, end of the url is cutted down.
      > >
      > > Does anyone know how to use POST-method for "img" "src"? Or alternate
      > > means for achieving what I am trying to do..
      > >
      > > Thanks,
      > >
      > > -Pelle-[/color]
      >
      > The server should support URLs of 2048 or more characters. A recent
      > thread prompted me to do some testing, and Internet Explorer itself
      > allows URLs of 2083 before the search string is truncated.
      >
      > Have you checked the web server logs to ensure your GET request is
      > actually reaching the server as constructed?
      >
      > Have you alert()ed or otherwise output the GET request you are executing
      > to ensure it's valid (properly URLencoded, no spaces, etc).
      >
      > --
      > | Grant Wagner <gwagner@agrico reunited.com>
      >
      > * Client-side Javascript and Netscape 4 DOM Reference available at:
      > *
      > http://devedge.netscape.com/library/...ce/frames.html
      >
      > * Internet Explorer DOM Reference available at:
      > *
      > http://msdn.microsoft.com/workshop/a...ence_entry.asp
      >
      > * Netscape 6/7 DOM Reference available at:
      > * http://www.mozilla.org/docs/dom/domref/
      > * Tips for upgrading JavaScript for Netscape 6/7 and Mozilla
      > * http://www.mozilla.org/docs/web-deve...upgrade_2.html[/color]

      Comment

      Working...