Announcement

Collapse
No announcement yet.

Upload Service: Easy Linked Thumbnail/Shrinked Code

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

  • Upload Service: Easy Linked Thumbnail/Shrinked Code

    The Upload Service now has a new feature for uploading images:

    It provides you with a thumbnail and the necessary vb code to post it in the forums

    For an example see


    Another change is that when you choose the "view images" option to display all the images you have uploaded, you see the thumbnails of your images instead of their full versions

    Looking forward to your feedback


    edit (01jun06): 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
    Last edited by MarkG; June 1, 2006, 05:44.
    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

  • #2
    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


    • #3
      It uses the original as thumbnail if it's less than 150x150 I see.
      Civilization II: maps, guides, links, scenarios, patches and utilities (+ Civ2Tech and CivEngineer)

      Comment


      • #4
        yeah
        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


        • #5
          TIP

          you can set the size of the thumbnail

          just put "x=400&" after "thumb.php?"

          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


          • #6
            The feature now provides the code to post a shrinked (800 pixels wide) version of the image
            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


            • #7
              you guys rock

              thanks a miilion
              anti steam and proud of it

              CDO ....its OCD in alpha order like it should be

              Comment


              • #8
                have used it,rocks esspecially the part where you dont need to do anything,and just copy the url stuff
                Last edited by Kataphraktoi; November 12, 2005, 21:24.
                if you want to stop terrorism; stop participating in it

                ''Oh,Commissar,if we could put the potatoes in one pile,they would reach the foot of God''.But,replied the commissar,''This is the Soviet Union.There is no God''.''Thats all right'' said the worker,''There are no potatoes''

                Comment


                • #9
                  added support for 400 pixels thumbnails of screenshots that you upload

                  example


                  (just copy the url of the "Thumbnail (400 pixels wide) image location (for Hall of Fame)" field)
                  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


                  • #10
                    You now get a whole bunch of thumbnail links etc. with every file you upload though. Perhaps you could limit all that to just those file types that are actually images: gif, jpg, jpeg and png.

                    Even more, the entire upload thing seems to look like it's just supposed to be used for images now. You can't copy/paste the link in the upload page now anymore for an easy download, because that will lead to the confusing page talking about images and thumbnails when the file isn't one.

                    Not to mention it will try to display the file as an image.
                    Last edited by Mercator; November 12, 2005, 20:12.
                    Civilization II: maps, guides, links, scenarios, patches and utilities (+ Civ2Tech and CivEngineer)

                    Comment


                    • #11
                      Originally posted by Mercator
                      You now get a whole bunch of thumbnail links etc. with every file you upload though. Perhaps you could limit all that to just those file types that are actually images: gif, jpg, jpeg and png.
                      you will now get the "classic" link to the file instead of the thumbnail links if the file is not an image

                      Even more, the entire upload thing seems to look like it's just supposed to be used for images now. You can't copy/paste the link in the upload page now anymore for an easy download, because that will lead to the confusing page talking about images and thumbnails when the file isn't one.
                      1) added DIRECT LINK link when you view the files you have uploaded

                      2) gif and jpg files will be linked to the link page (link.php), other files will be direct links (view.php)
                      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


                      • #12
                        1) added DIRECT LINK link when you view the files you have uploaded

                        2) gif and jpg files will be linked to the link page (link.php), other files will be direct links (view.php)
                        yes i was slightly confused if i was at the wrong place for a sec when putting up a zip.
                        if you want to stop terrorism; stop participating in it

                        ''Oh,Commissar,if we could put the potatoes in one pile,they would reach the foot of God''.But,replied the commissar,''This is the Soviet Union.There is no God''.''Thats all right'' said the worker,''There are no potatoes''

                        Comment


                        • #13
                          Splendid

                          But um, while you're at it, could you by any chance URL escape the uploaded filename in the links?

                          Uploading a file with a # or & in it will cause problems, for instance. That is, the file uploads just fine, but none of the links (including the delete link) work, unless you URL escape the # or &. But most people won't know about that.
                          Civilization II: maps, guides, links, scenarios, patches and utilities (+ Civ2Tech and CivEngineer)

                          Comment


                          • #14
                            URL escape??
                            (\__/) Save a bunny, eat more Smurf!
                            (='.'=) Sponsored by the National Smurfmeat Council
                            (")_(") Smurf, the original blue meat! © 1999, patent pending, ® and ™ (except that "Smurf" bit)

                            Comment


                            • #15
                              URL escaping is a how "special" characters are encoded in URL's. It uses a percentage character. Like how filenames with spaces in them sometimes have %20 instead of the spaces.

                              For instance, try this link:


                              And in case you need it, the escape code for # is %23, the escape code for & is %26. You can simply replace those characters in the filename in the link with their respective escape codes.

                              So, say, http://apolyton.net/upload/view.php?file=0_file#01.zip should become http://apolyton.net/upload/view.php?..._file%2301.zip
                              Last edited by Mercator; December 16, 2005, 12:45.
                              Civilization II: maps, guides, links, scenarios, patches and utilities (+ Civ2Tech and CivEngineer)

                              Comment

                              Working...
                              X