Announcement

Collapse
No announcement yet.

Upload Service: Easy Linked Thumbnail/Shrinked Code

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

  • #16
    why is it that when i use the IMG button to post the image I uploaded all it does it post a link to the image. What do I have to do in my post to get the actual image or thumbnail of the image to post after I upload it? IMG in square brackets followed by the image URL followed by /IMG in square brackets evidently is *not* how it's supposed to be done. In fact is there any difference at all between [IMG] and [url]?

    Comment


    • #17
      [img] is for images, [url] for links, either web pages or images you don't want to show directly.
      Do not fear, for I am with you; Do not anxiously look about you, for I am your God.-Isaiah 41:10
      I praise you because I am fearfully and wonderfully made - Psalms 139.14a
      Also active on WePlayCiv.

      Comment


      • #18
        Originally posted by Nikolai
        [img] is for images, [url] for links, either web pages or images you don't want to show directly.
        but


        and

        http://apolyton.net/upload/view.php?...ofcollapse.JPG
        both just display a link to the file. neither displays an image. The only difference I can see is that the [url] allows you to name the link something.


        The first one was [img]

        the second one was [url]
        Last edited by Geronimo; May 31, 2006, 15:45.

        Comment


        • #19
          Then you either did something wrong, or the code Markos has made is faulty.
          Do not fear, for I am with you; Do not anxiously look about you, for I am your God.-Isaiah 41:10
          I praise you because I am fearfully and wonderfully made - Psalms 139.14a
          Also active on WePlayCiv.

          Comment


          • #20
            Originally posted by Nikolai
            Then you either did something wrong, or the code Markos has made is faulty.
            naturally

            So im posting here to find what I'm doing wrong.

            Right now I go to my upload files area select view files copy the entire contents of one of the 5 thumbnail or image fields in this case the 5th one "Full image location" which would directly paste as:



            then I go back to the post and either try hitting the IMG button and pasting the contents in the "enter text to be formatted" prompt that appears like so:





            -or- I try just manually typing [IMG (with the other bracket included) then paste the contents from upload area then type [ slash img] like so



            which looks exactly the same. In neither case does my post contain an image.

            So what am I doing wrong? How do I put a jpg file that I've uploaded into a post?


            (damn it's hard to show what Im actually typing without it trying to turn it into invisible linking code)

            Comment


            • #21
              maybe this will work
              Attached Files

              Comment


              • #22
                so if I want to attach the image it has to be saved locally on my hardisk? It's not possible to attach from the upload files?

                Comment


                • #23
                  this is actually from the original vB code, the img tag cant handle image url that contain characters like ?, =
                  it's identified as a url and gets treated likewise
                  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


                  • #24
                    Upload URL's v2.

                    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


                    • #25
                      url's produced by the Upload Service are now much nicer and friendly to the forum code
                      example of the new url's can be found on this example


                      How do I put a jpg file that I've uploaded into a post?
                      when you view your uploaded files click on the image or it's name or the new "USE ON APOLYTON" link
                      you'll get various snippets of code for use in various parts of Apolyton
                      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


                      • #26
                        Originally posted by MarkG
                        url's produced by the Upload Service are now much nicer and friendly to the forum code
                        example of the new url's can be found on this example


                        How do I put a jpg file that I've uploaded into a post?
                        when you view your uploaded files click on the image or it's name or the new "USE ON APOLYTON" link
                        you'll get various snippets of code for use in various parts of Apolyton
                        thanks!

                        Comment


                        • #27
                          *bump*

                          MarkG, could you please have another look at the URL encoding?



                          PHP has built-in functions that can do url encoding and decoding, so it shouldn't be too difficult (maybe).

                          Files with funny characters don't work properly. And while with the old /view.php?file=... thing manual URL encoding fixed the problem, simple URL encoding on the vB friendly /view/... doesn't work anymore.
                          Civilization II: maps, guides, links, scenarios, patches and utilities (+ Civ2Tech and CivEngineer)

                          Comment

                          Working...
                          X