I would like to post a flash document through the <img> tag

Discussion in 'Perl' started by Pete M, Jun 17, 2004.

  1. Pete M

    Pete M Guest

    I currently frequent a forum for Audi's cars and, while posting, only
    have access to a couple HTML tags: <a> and <img>. I have written a
    script to choose a random img and return it from a pre written file;
    this is all for my signature at the end of each post. Unrelated, I
    would like to be able to post a flash document instead of an image. I
    realize you need to be able to have the <object> tag somewhere in
    there, along with all the accompanying info related to Flash.

    What do you think?
     
    Pete M, Jun 17, 2004
    #1
    1. Advertising

  2. Pete M wrote:
    > I currently frequent a forum for Audi's cars and, while posting,
    > only have access to a couple HTML tags: <a> and <img>. I have
    > written a script to choose a random img and return it from a pre
    > written file; this is all for my signature at the end of each post.
    > Unrelated, I would like to be able to post a flash document instead
    > of an image. I realize you need to be able to have the <object>
    > tag somewhere in there, along with all the accompanying info
    > related to Flash.
    >
    > What do you think?


    I think you should ask for comments on your thoughts somewhere else.
    This group is defunct, and when it was alive, it dealt with the Perl
    programming language.

    --
    Gunnar Hjalmarsson
    Email: http://www.gunnar.cc/cgi-bin/contact.pl
     
    Gunnar Hjalmarsson, Jun 17, 2004
    #2
    1. Advertising

  3. Pete M wrote:
    > [something about HTML and Flash and tags]
    >
    > What do you think?


    I think that you missed the propper NG by a long shot.

    jue
     
    Jürgen Exner, Jun 18, 2004
    #3
  4. Pete M

    Pete M Guest

    Gunnar Hjalmarsson <> wrote in message news:<mLoAc.96236$>...
    > Pete M wrote:
    > > I currently frequent a forum for Audi's cars and, while posting,
    > > only have access to a couple HTML tags: <a> and <img>. I have
    > > written a script to choose a random img and return it from a pre
    > > written file; this is all for my signature at the end of each post.
    > > Unrelated, I would like to be able to post a flash document instead
    > > of an image. I realize you need to be able to have the <object>
    > > tag somewhere in there, along with all the accompanying info
    > > related to Flash.
    > >
    > > What do you think?

    >
    > I think you should ask for comments on your thoughts somewhere else.
    > This group is defunct, and when it was alive, it dealt with the Perl
    > programming language.


    Well, anybody know of a way to make perl do this anways, even though
    the HTML is expecting an image?
     
    Pete M, Jun 18, 2004
    #4
  5. Pete M

    Joe Smith Guest

    Pete M wrote:
    > Gunnar Hjalmarsson <> wrote in message news:<mLoAc.96236$>...
    >>I think you should ask for comments on your thoughts somewhere else.
    >>This group is defunct, and when it was alive, it dealt with the Perl
    >>programming language.

    >
    > Well, anybody know of a way to make perl do this anways, even though
    > the HTML is expecting an image?


    First figure out how to do is with an plain HTML file.
    If you can't do that, perl won't be of any help.
    -Joe
     
    Joe Smith, Jun 18, 2004
    #5
  6. Pete M wrote:
    > Gunnar Hjalmarsson <> wrote in message
    > news:<mLoAc.96236$>...
    >> Pete M wrote:
    >>> [Some HTML problem]
    >>> What do you think?

    >>
    >> I think you should ask for comments on your thoughts somewhere else.
    >> This group is defunct, and when it was alive, it dealt with the Perl
    >> programming language.

    >
    > Well, anybody know of a way to make perl do this anways, even though
    > the HTML is expecting an image?


    Sure, no problem.
    _YOU_ show us how the HTML code is supposed to look like and _WE_ will be
    happy to show you how to use Perl to generate the desired HTML code.

    jue
     
    Jürgen Exner, Jun 18, 2004
    #6
  7. Pete M

    Pete M Guest

    What the crap? Perl frickin programming language ;) What's to miss?

    The question is: how can I write a <I'm underlined>PERL script</I'm
    underlined> to return an object, in this case a Flash document, when
    it is called through the image tag in an HTML file. Gall, everyone
    makes it seem like you don't know what the stink PERL is. I'm asking
    if it's possible.

    Making perl produce a page with an object in it is not hard, but when
    the script is called through an image tag, that's where the secret
    lies.

    Man, it's no wonder the first person that responded said this plays is
    defunct and dead... you guys alienate anyone that comes in here! :)
     
    Pete M, Jun 18, 2004
    #7
  8. Pete M wrote:
    > What the crap? Perl frickin programming language ;) What's to miss?
    >
    > The question is: how can I write a <I'm underlined>PERL script</I'm
    > underlined> to return an object, in this case a Flash document, when
    > it is called through the image tag in an HTML file. Gall, everyone
    > makes it seem like you don't know what the stink PERL is. I'm asking
    > if it's possible.


    You don't get it, do you? In which way does your choice of programming
    language impact the answer to your question? Would the solution be any
    different if you were to use C or Pascal or Haskel? You would still generate
    the same output.

    > Making perl produce a page with an object in it is not hard, but when
    > the script is called through an image tag, that's where the secret
    > lies.


    Again, how would this be any different if that script was written in sh or
    bash or any other programming language. Your question in not about how to
    generate response "x" in Perl (that's would be a Perl question and is as
    simple as using print()) but how response "x" must look like.

    You are barking up the wrong tree because YOU DON'T HAVE A PERL PROBLEM.
    Most likely you have a CGI or web server configuration question, maybe an
    HTML question. But certainly not a Perl question.

    Or do you also believe that just because I am managing my cooking recipies
    with a Perl script the baking of a cheese cake becomes a Perl problem, too?

    jue
     
    Jürgen Exner, Jun 18, 2004
    #8
  9. Pete M

    Joe Smith Guest

    Pete M wrote:

    > What the crap? Perl frickin programming language ;) What's to miss?
    >
    > The question is: how can I write a <I'm underlined>PERL script</I'm
    > underlined> to return an object, in this case a Flash document, when
    > it is called through the image tag in an HTML file.


    When the browser sees an image tag, like
    <img src="http://www.example.com/cgi-bin/send-jpeg.cgi?random1">
    it expects the web server to send a response that includes the
    header "Content-Type: image/jpeg" or any other recognized "image/" type.

    If your CGI program sends "Content-Type: application/x-shockwave-flash"
    instead, the browser will not be able to handle it. Many browsers
    can only display Flash animatings if they are specified as an <embed>
    tag inside an <object> tag.

    I fear that what you're asking for, using *only* an <img> tag, is impossible.
    -Joe
     
    Joe Smith, Jun 18, 2004
    #9
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. news.austin.rr.com

    how to download img from html img tag

    news.austin.rr.com, Apr 27, 2005, in forum: ASP .Net
    Replies:
    2
    Views:
    529
    Steve C. Orr [MVP, MCSD]
    Apr 27, 2005
  2. shruds
    Replies:
    1
    Views:
    893
    John C. Bollinger
    Jan 27, 2006
  3. just4me
    Replies:
    1
    Views:
    295
    Mark A. Odell
    Jul 16, 2004
  4. Bobby Edward

    Referencing root document in <IMG> tag...

    Bobby Edward, Sep 21, 2008, in forum: ASP .Net
    Replies:
    2
    Views:
    479
    Bobby Edward
    Sep 21, 2008
  5. Replies:
    7
    Views:
    198
    Tad McClellan
    Jun 22, 2006
Loading...

Share This Page