Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 155 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

  1. A
    1. B
      1. C
        1. D
          1. E
            1. F
              1. enter image description here
I don't even know. It just seemed weird.

Yes, I understand I could just avoid doing something like that. But the problem already exists with a single level.

Consider having 2 images in a post. Both exceed the maximum width of a post. One is nested in a list. Key to this issue is that my original images were much larger. They were automatically resized.

Image

List

I think it looks weird.

share|improve this question
16  
So...don't do that? – Bart Aug 17 '12 at 18:24
    
@Bart: I added a more common case. – Oliver Salzburg Aug 17 '12 at 18:31
    
Hmm, well, perhaps this can be handled. As a user you can already do several things though. Imgur supports "m" or "s" at the end of the filename (before the .jpg or .png) to use a medium or small version. And there is a StackApp which can help you with a thumbnail and even a link to the original format image. Though I've never needed to use the latter, so I don't know how useful that is. – Bart Aug 17 '12 at 18:38
up vote 20 down vote accepted

This could easily be fixed by using a max-width: 100% on images rather than the current 640px.

Nested images with max width 100%

Is there any specific reason why they opted to use an exact pixel size instead? If they're not going to change it, I might just add this style to my custom user styles because I think it actually makes the display of images better overall.

share|improve this answer
    
I'm using this in my user styles as well now. Works great :) – Oliver Salzburg Sep 13 '12 at 10:49
1  
I've added your fix to the Stack Overflow Unofficial Patch v1.4. Thanks! – Ilmari Karonen Jan 25 '14 at 12:18
    
@animuson : max-width:don't work on some IE versions. – user2284570 May 11 '14 at 0:06
    
@user2284570: Do those "some IE versions" include any of the supported ones? – Ilmari Karonen May 11 '14 at 1:38
    
@user2284570 max-width has been supported since IE 7, so there's really not any worry there. – animuson May 11 '14 at 3:53
    
@animuson : Sorry for this explanation : Stack Exchange work with ie6 (although officially not supported : I tried it). windows 98 SE = FF 2.0 =ie6 = opera 10 = Only way to play dos games who didn't wanted to use DirectX and used Dos for using privileged instructions and real mode (vm86 don't work) = Only way to get the sound on them with a recent card. I call windows ME a downgrade. Windows 98 itself can't run inside a virtual machine : it can't use vm86. – user2284570 May 11 '14 at 8:18
2  
@user2284570 Stack Exchange really doesn't care about IE 6. It's not even dupported by Microsoft anymore. Worst case is that IE 6 will ignore the property and the image will still overflow in that browser. No big deal. – animuson May 11 '14 at 13:25
1  
Now that you're part of the team can you maybe use this to have your suggestion be implemented? – Shadow Wizard Jul 24 '15 at 17:51

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .