Announcement

Collapse
No announcement yet.

PNG image fix

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    Yeah, people with vision problems try to click on them at the same time skipping items which are links, but not underlined..
    -- What history has taught us is that people do not learn from history.
    -- Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.

    Comment


    • #17
      Re: PNG image fix

      Originally posted by binTravkin
      I've noticed tha Apolyton does not show .png images for IE, due to not having proper code for it.
      not sure what you mean, but png image can be attached and displayed in ie with no problems
      Attached Files
      Co-Founder, Apolyton Civilization Site
      Co-Owner/Webmaster, Top40-Charts.com | CTO, Apogee Information Systems
      giannopoulos.info: my non-mobile non-photo news & articles blog

      Comment


      • #18
        not sure what you mean, but png image can be attached and displayed in ie with no problems
        Well some time ago, a guy called Leon Trotsky uploaded a ouple of PNG screenshots in his posts at AC G/H/S Strange Screenshot thread.
        Several people said they can't see them in IE, including me.
        EDIT: they were PNG
        Last edited by binTravkin; February 26, 2006, 02:29.
        -- What history has taught us is that people do not learn from history.
        -- Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.

        Comment


        • #19
          url of the post(s)?
          Co-Founder, Apolyton Civilization Site
          Co-Owner/Webmaster, Top40-Charts.com | CTO, Apogee Information Systems
          giannopoulos.info: my non-mobile non-photo news & articles blog

          Comment


          • #20


            EDIT: I just tried attaching. In a strange manner a 24bit PNG now works..
            -- What history has taught us is that people do not learn from history.
            -- Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.

            Comment


            • #21
              Originally posted by binTravkin
              For you to read it twice.
              Igore the collective Web experience at your peril.

              Originally posted by binTravkin
              Umm, on a web application which would never work without PHP and whose code actually consists of 80% PHP 5% MySQL and 15% HTML?
              That's Stone Age thinking, dude.
              You are a developer no? One of the adages is "Don't make assumptions."

              Originally posted by binTravkin
              Obsolete 'pseudo-standard' as general lazyness of developers.
              I won't call W3C standards "pseudo-standards." Afterall, they write all the rules.

              Furthermore, HTML entities have been around for ages.

              Originally posted by binTravkin
              Companies that care about usability don't do such.


              Most companies don't run bulletin boards on the corporate website.

              Originally posted by binTravkin
              EDIT: Actually there are things that require usage of htmlspecialchars and other code->non-code conversion functions, like JavaScript.


              Most HTML entities aren't special characters for JavaScript.
              (\__/) 07/07/1937 - Never forget
              (='.'=) "Claims demand evidence; extraordinary claims demand extraordinary evidence." -- Carl Sagan
              (")_(") "Starting the fire from within."

              Comment


              • #22
                Originally posted by Urban Ranger


                Igore the collective Web experience at your peril.
                Yeah, if he underlines who knows what might happen. The sky will fall!

                Comment


                • #23
                  Igore the collective Web experience at your peril.

                  Ok, I will bold instead so you don't mess it with links.

                  You are a developer no? One of the adages is "Don't make assumptions."
                  Umm, how does it makes sense?

                  I won't call W3C standards "pseudo-standards." Afterall, they write all the rules.
                  I have yet to find where W3C states that websites with ability of posting should not parse their special code tags so that they can automatically preview HTML without interfering with site HTML.
                  Could you, please, give me a link?

                  Furthermore, HTML entities have been around for ages.
                  Are you trying to self-pwn again?
                  That is one of the main reasons why htmlspecialchars conversion function should be used while parsing code tags.

                  Most companies don't run bulletin boards on the corporate website.
                  Ugh, are you stupid or pretending?
                  I was talking about vBulletin Version 2.0.3 and their developer Jelsoft Enterprises Limited.

                  Most HTML entities aren't special characters for JavaScript.

                  So, if I post the script tag in the code tag of apolyton, which it fully accepts as functional tag, not shows as code in text, it's okay with you?
                  Code:
                  
                  
                  click here!
                  How it should look in code tag (automatically).
                  Code:
                  <script>function myAlert(){alert('pwnage!')}</script>
                  <div onclick="myAlert();">click here!</div>

                  click here!


                  Conclusion:
                  There's no difference in vBulletin 2.0.3 whether you post your script in code tag or in simple posting mode.

                  And don't tell me user should be converting all entities manually if he wants to post HTML as text, not HTML, that is nonsense.
                  Last edited by binTravkin; February 27, 2006, 03:02.
                  -- What history has taught us is that people do not learn from history.
                  -- Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.

                  Comment


                  • #24
                    Why isn't there just a simple option to disable HTML code in you posts like you can disable smilies in your posts.

                    -Martin
                    Civ2 military advisor: "No complaints, Sir!"

                    Comment


                    • #25
                      Why isn't there just a simple option to disable HTML code in you posts like you can disable smilies in your posts.

                      -Martin
                      There is, in your user control panel IIRC.

                      But the story is not about it, the story is about PNG images not showing for IE, due to not having the proper filter set up (or none at all) and about the fact there's no diference between how HTML code is parsed in code tag and in body of the post, which leads to logical question - what's the use of that code tag at all?
                      To paste formatted text? How does it serves the name code tag?
                      -- What history has taught us is that people do not learn from history.
                      -- Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.

                      Comment


                      • #26
                        Originally posted by binTravkin
                        Umm, how does it makes sense?
                        Well, you were assuming that HTML tags in a code section will be escaped.

                        Originally posted by binTravkin
                        I have yet to find where W3C states that websites with ability of posting should not parse their special code tags so that they can automatically preview HTML without interfering with site HTML.
                        Could you, please, give me a link?
                        W3C states plainly that, whenever you need to display special characters in HTML, such as the angular brackets and & you should use the HTML entities to represent them.

                        Originally posted by binTravkin
                        Are you trying to self-pwn again?
                        That is one of the main reasons why htmlspecialchars conversion function should be used while parsing code tags.
                        Again, you are assuming certain behaviour for an input.

                        Originally posted by binTravkin
                        Ugh, are you stupid or pretending?
                        I was talking about vBulletin Version 2.0.3 and their developer Jelsoft Enterprises Limited.
                        Um, did they tell you that code sections are HTML safe, perhaps in the fine manual?

                        Originally posted by binTravkin
                        So, if I post the script tag in the code tag of apolyton, which it fully accepts as functional tag, not shows as code in text, it's okay with you?
                        It's okay if the software does not guarantee code sections are HTML safe.

                        Originally posted by binTravkin
                        And don't tell me user should be converting all entities manually if he wants to post HTML as text, not HTML, that is nonsense.
                        Why not? Every single task requires a certain level of skill and/or knowledge. Hack, even before you eat an orange, you need to peel off the skin. Changing oil for your car isn't all that easy, either.

                        Notice that the little blurb at the lower left hand corner of the page with the heading "Forum Rules." It says HTML code is on. What that means is whatever you type in this box will be treated as HTML, not plain text. As such, HTML has its own rendering rules.
                        (\__/) 07/07/1937 - Never forget
                        (='.'=) "Claims demand evidence; extraordinary claims demand extraordinary evidence." -- Carl Sagan
                        (")_(") "Starting the fire from within."

                        Comment


                        • #27
                          Originally posted by binTravkin
                          But the story is not about it, the story is about PNG images not showing for IE
                          If other browsers can display PNG properly but not IE, it's a problem with IE. Not surprising, either.

                          Originally posted by binTravkin
                          ...what's the use of that code tag at all?
                          I don't know about you, but programming books I have seen have program codes printed in a different type, unsually some kind of monospacing one.

                          As far as I can see, code sections on the Web is simply an extension of this practice.
                          (\__/) 07/07/1937 - Never forget
                          (='.'=) "Claims demand evidence; extraordinary claims demand extraordinary evidence." -- Carl Sagan
                          (")_(") "Starting the fire from within."

                          Comment


                          • #28
                            Well, you were assuming that HTML tags in a code section will be escaped.
                            And?
                            I was assuming that on the basis that vBulletin has actually been developed by professional people.
                            Apparently they've missed out this point and I wonder why Apolyton admins, who (maybe with particular exceptions) have good knowledge and skills in PHP/HTML wouldn't want to fix that.

                            W3C states plainly that, whenever you need to display special characters in HTML, such as the angular brackets and & you should use the HTML entities to represent them.
                            Where did I deny this?
                            Maybe you will next say that whenever you need to make browser preview your HTML, you need to put html start and end tags?

                            You just said a fundamental truth.
                            It's not even a standard, it's how HTML works.

                            We're talking about the code tag, which should automatically convert any contents to htmlentities, so that user is able to simply paste the code he wants the others to see.

                            Again, you are assuming certain behaviour for an input.
                            So, maybe I shouldn't assume that the button below the textbox I am now writing in (having 'submit reply' text on it), will add the text Im inputting to thread?
                            Maybe I shouldn't assume that by clicking the 'profile' link in your post I will see your profile, maybe I shouldn't assume, that by inputting 'b' tags I will get bold, maybe I shouldn't assume that by inputting 'quote' tags, the text inside them wil be specially outlined?


                            Um, did they tell you that code sections are HTML safe, perhaps in the fine manual?
                            Should I read the manual to know that the 'i' tag equals to Italic?
                            Should I read the manual to know that the link in your post named 'profile' leads to your profile?


                            It's okay if the software does not guarantee code sections are HTML safe.
                            Ahh, it's okay, that a tag which is named 'code' and whose primary function is to actually preview code in a readable form, is not doing so?


                            Why not? Every single task requires a certain level of skill and/or knowledge. Hack, even before you eat an orange, you need to peel off the skin. Changing oil for your car isn't all that easy, either.
                            Well, are you being serious?

                            Notice that the little blurb at the lower left hand corner of the page with the heading "Forum Rules." It says HTML code is on. What that means is whatever you type in this box will be treated as HTML, not plain text. As such, HTML has its own rendering rules.
                            If you have ever read what a code tag is supposed to be, you'll know that it is supposed to preview code so that it is readable as opposed to posting it without code tag whereas it should preview as normal HTML.
                            Each forum tag has it's own supposed use.

                            I don't know about you, but programming books I have seen have program codes printed in a different type, unsually some kind of monospacing one.

                            As far as I can see, code sections on the Web is simply an extension of this practice.
                            I don't know about you, but programming books I've seen don't have ability to post comments, copy - paste text, search for a keyword.

                            How about we extend this practice to the web?

                            And as a remark, it seems you haven't seen far.


                            If other browsers can display PNG properly but not IE, it's a problem with IE. Not surprising, either.
                            I heard you've claimed you have some kind of degree in CS.

                            By this sentence you've declared it void.

                            Thank you for discussion, I'll talk to competent people next time.
                            Last edited by binTravkin; March 1, 2006, 05:04.
                            -- What history has taught us is that people do not learn from history.
                            -- Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.

                            Comment

                            Working...
                            X