[solved] Resize or scroll enable large images in wiki
-
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.
-
yes that will be a good feature to have, while linking the image I should be able to specify the w,h too
-
chetankjain, and autoresizing to fit screen will be good too (when w,h not specified or specified bigger than avail space).
-
Thank you for reporting this, we are looking into it.
-
We have a "function imgFitOnLoad" script for the forum, I guess we can use that for the wiki as well?
-
[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.
-
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.
-
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.
-
Yes, and may be on clicking the image one can view the full size image on a different page.
-
QtK, way suggested by thp is better I think. A bit of lightbox will be really nice here.
-
A solution to this went live yesterday, cheers :)
-
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 author="mariusg" date="1292505977"]A solution to this went live yesterday, cheers :)[/quote]
Thank you will check it out.
-
[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.
-
Any chances of getting a lightbox in, too?
-
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.