Page 1 of 1
images truncated
Posted: Tue Mar 01, 2016 8:42 am
by vanatteveldt
Large images seem to be capped at a maximum width without a scrollbar, leaving only the left-hand side visible.
For example:
viewtopic.php?f=8&t=20663 links to
http://i.amcat.nl/battery%20plant.png, but on screen I only see the left half:
Strange enough, if I zoom in/out in my browser, the the part of the picture that is visible changes. I had a quick look at the html/css, but didn't see anything fishy, so not quite sure what the issue is./
Is this a problem in my settings? (linux, ubuntu+i3, chrome/firefox)
If not, is there a different way I should include the picture?
Re: images truncated
Posted: Tue Mar 01, 2016 10:01 pm
by ssilk
This is a problem with phpbb... there are plugins, but I can only hope, that it will be installed.
Re: images truncated
Posted: Wed Mar 02, 2016 4:05 pm
by HanziQ
I tried a simple CSS change, how's this working for you?
Re: images truncated
Posted: Wed Mar 02, 2016 4:06 pm
by HanziQ
Example
Re: images truncated
Posted: Wed Mar 02, 2016 4:09 pm
by daniel34
I had to CTRL+F5 (reload without cache), but now the image is scaled to the width of the page (Chrome 48 on Windows 7). Looks nice!
Re: images truncated
Posted: Wed Mar 02, 2016 10:52 pm
by Nova
That's better, but we still need another solution. In the moment we can't distinguish pictures which are too big and pictures which fit perfectly.
Re: images truncated
Posted: Wed Mar 02, 2016 11:29 pm
by HanziQ
Is that a problem? I would prefer this over a scrollbar.
Re: images truncated
Posted: Thu Mar 03, 2016 2:01 am
by Nova
There has to be another solution. Like I said, it's not possible to distinguish a picture which is exactly small enough to fit the screen or a picture which is to big and was scaled down. Some other site I know uses a small magnifying glass under big pictures, but I don't know how easy that would be to implement.
It should also be possible to get the original size picture by clicking on it / on a link.
Re: images truncated
Posted: Thu Mar 03, 2016 8:49 am
by vanatteveldt
Perfect.
Generating a link to the original source would be nice, but people can always right-click + open as.
I think "most" forums work with scroll bars, e.g.
http://forums.civfanatics.com/showpost. ... stcount=15, but I think this solution (especially if you would add a link to view full size) is much nicer.
Re: images truncated
Posted: Thu Mar 03, 2016 4:48 pm
by daniel34
This does not work with images in attachments, example:
viewtopic.php?f=7&t=20794
Re: images truncated
Posted: Thu Mar 03, 2016 5:38 pm
by HanziQ
Fixed.