agent47

  • Now I see the changes you're talking about.
  • Posts: 115
Large images jut out of post area
« on October 9th, 2012, 03:55 PM »
I'm not a regular here at Wedge although I try to be so I don't know if this has already been talked about but I thought I'd mention it anyway. As the screen below shows, large embedded images seem to jut-out of post area.

Tested on: Chrome & Firefox.
Assumption: This may have something to do with the theme Wuthering


Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
When we unite against a common enemy that attacks our ethos, it nurtures group solidarity. Trolls are sensational, yes, but we keep everyone honest. | Game Memorial

agent47

  • Now I see the changes you're talking about.
  • Posts: 115
Re: Large images jut out of post area
« Reply #2, on October 9th, 2012, 04:02 PM »
I edited my post. It has something to do with the theme Wuthering. Oh and it's not just gallery images but external images too.

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Large images jut out of post area
« Reply #3, on October 9th, 2012, 04:04 PM »
Eh, it's not specifically Wuthering. Weaving does it as well. And it's still the same as in SMF.

(Also, gallery images can't be fixed as easily as regular images - regular images can be fixed by a max posting size, which isn't set here)

agent47

  • Now I see the changes you're talking about.
  • Posts: 115

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Large images jut out of post area
« Reply #5, on October 9th, 2012, 04:17 PM »
Well, it's there on Weaving since that's what I'm using ;) But I have to shrink the window a bit for it to be visible.

Nao

  • Dadman with a boy
  • Posts: 16,082

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Large images jut out of post area
« Reply #7, on October 9th, 2012, 04:57 PM »
For regular posted images, the container .bbc_img has a max-width of 650px which doesn't do any good if the container is below that in width (e.g. this page, narrower than 1100px or so, where there's enough room for the sidebar still to be on the side, but not enough to leave the main body of posts with 650px or more.

For gallery images inside posts, img.aext does not supply a max-width at all, neither does its parent a.zoom container tag.

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: Large images jut out of post area
« Reply #8, on October 9th, 2012, 05:19 PM »
The max-width thingy should work..? Can you point me to a sample URL here that shows the problem...?

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Large images jut out of post area
« Reply #9, on October 9th, 2012, 05:27 PM »
How about this page? This page, with a browser width of about 1100px and you'll see the problem. Different variation on it, sure, but the same basic problem.

The image is constrained to 650px but that's no use because it's still overflowing out of the container. Were it using max-width: 100%, there wouldn't be a problem - but it's not.

bbc images are fixed to a max width of 650px, regardless of the container's size, Aeva images inserted by media bbc are not constrained at all and display at natural size.

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: Large images jut out of post area
« Reply #10, on October 9th, 2012, 05:40 PM »
Hmm, well... The problem with max-width: 100% in this situation is that you can click the item to view it at max width, like the 'resized' feature usually does. (But this, IIRC, only triggers if you set a hardcoded width on the img tag.)
Maybe an overflow: auto..?
Posted: October 9th, 2012, 05:37 PM

Ouch, that's complicated...
overflow: auto works when applied to a container div (which we can insert automatically.) But it then means that you can't show multiple img tags next to each other...

Something tells me it's going to be a matter of compromise.

agent47

  • Now I see the changes you're talking about.
  • Posts: 115
Re: Large images jut out of post area
« Reply #11, on October 13th, 2012, 08:15 PM »
I notice that this issue has been sorted out. Someone please mark this topic as solved.
Woopti-doo!

Nao

  • Dadman with a boy
  • Posts: 16,082