Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Behind the Scenes
  3. Qt.io webservices
  4. [solved] Resize or scroll enable large images in wiki
Forum Updated to NodeBB v4.3 + New Features

[solved] Resize or scroll enable large images in wiki

Scheduled Pinned Locked Moved Qt.io webservices
16 Posts 6 Posters 8.1k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    kamalakshantv
    wrote on last edited by
    #1

    It seems wiki doesn't resize or provide option to scale large images.

    http://developer.qt.nokia.com/wiki/QtCreatorWhitepaper

    In the above link it seems images are trimmed on the right side as it doesn't fit on to the screen.

    1 Reply Last reply
    0
    • ? This user is from outside of this forum
      ? This user is from outside of this forum
      Guest
      wrote on last edited by
      #2

      yes that will be a good feature to have, while linking the image I should be able to specify the w,h too

      1 Reply Last reply
      0
      • D Offline
        D Offline
        DenisKormalev
        wrote on last edited by
        #3

        chetankjain, and autoresizing to fit screen will be good too (when w,h not specified or specified bigger than avail space).

        1 Reply Last reply
        0
        • G Offline
          G Offline
          gurudutt
          wrote on last edited by
          #4

          Thank you for reporting this, we are looking into it.

          Release Manager - Qt Development Frameworks

          1 Reply Last reply
          0
          • M Offline
            M Offline
            mgran
            wrote on last edited by
            #5

            We have a "function imgFitOnLoad" script for the forum, I guess we can use that for the wiki as well?

            Project Manager - Qt Development Frameworks

            1 Reply Last reply
            0
            • K Offline
              K Offline
              kamalakshantv
              wrote on last edited by
              #6

              [quote author="chetankjain" date="1291367243"]yes that will be a good feature to have, while linking the image I should be able to specify the w,h too[/quote]

              Would prefer it to be handled automatically. Although additional support to specify w, h will be a nice to have feature.

              1 Reply Last reply
              0
              • G Offline
                G Offline
                goetz
                wrote on last edited by
                #7

                I would prefer scaling down the images to a reasonable size in the wiki (big images can really break the layout) and provide a link on the image that opens it in original size in one of these popular image popups.

                http://www.catb.org/~esr/faqs/smart-questions.html

                1 Reply Last reply
                0
                • T Offline
                  T Offline
                  thp4
                  wrote on last edited by
                  #8

                  A CSS style like the following should do the trick:

                  @max-width: 100%;@

                  The image can always be linked to the source image. Having LightBox would also be nice - this way, bigger images can be displayed while staying on the page, but when JavaScript is disabled, the link still goes to the original (full-size) image.

                  1 Reply Last reply
                  0
                  • K Offline
                    K Offline
                    kamalakshantv
                    wrote on last edited by
                    #9

                    Yes, and may be on clicking the image one can view the full size image on a different page.

                    1 Reply Last reply
                    0
                    • D Offline
                      D Offline
                      DenisKormalev
                      wrote on last edited by
                      #10

                      QtK, way suggested by thp is better I think. A bit of lightbox will be really nice here.

                      1 Reply Last reply
                      0
                      • M Offline
                        M Offline
                        mgran
                        wrote on last edited by
                        #11

                        A solution to this went live yesterday, cheers :)

                        Project Manager - Qt Development Frameworks

                        1 Reply Last reply
                        0
                        • G Offline
                          G Offline
                          goetz
                          wrote on last edited by
                          #12

                          What does it do exactly? From what I've seen, it seems to restrict the size to a certain amount, but there is no link to show the image in its original size. Right?

                          http://www.catb.org/~esr/faqs/smart-questions.html

                          1 Reply Last reply
                          0
                          • K Offline
                            K Offline
                            kamalakshantv
                            wrote on last edited by
                            #13

                            [quote author="mariusg" date="1292505977"]A solution to this went live yesterday, cheers :)[/quote]

                            Thank you will check it out.

                            1 Reply Last reply
                            0
                            • M Offline
                              M Offline
                              mgran
                              wrote on last edited by
                              #14

                              [quote author="Volker" date="1292506527"]What does it do exactly? From what I've seen, it seems to restrict the size to a certain amount, but there is no link to show the image in its original size. Right?[/quote]

                              Right, it solves the image breaking out of the page.

                              Project Manager - Qt Development Frameworks

                              1 Reply Last reply
                              0
                              • G Offline
                                G Offline
                                goetz
                                wrote on last edited by
                                #15

                                Any chances of getting a lightbox in, too?

                                http://www.catb.org/~esr/faqs/smart-questions.html

                                1 Reply Last reply
                                0
                                • M Offline
                                  M Offline
                                  mgran
                                  wrote on last edited by
                                  #16

                                  Not at the moment, for every .js library (or jQuery plugin) we add to the site the work per release jumps up a notch. So unless it's a key requirement we would rather wait with another js. lib in the mix. Also they usually bring with them all sorts of funny cross browser issues with IE7 and IE8.

                                  Project Manager - Qt Development Frameworks

                                  1 Reply Last reply
                                  0

                                  • Login

                                  • Login or register to search.
                                  • First post
                                    Last post
                                  0
                                  • Categories
                                  • Recent
                                  • Tags
                                  • Popular
                                  • Users
                                  • Groups
                                  • Search
                                  • Get Qt Extensions
                                  • Unsolved