Something in the theme seems to be squeezing images to fit in the confines of the page? At least I presume so, because I thought the general behaviour of images too big for their containers was to force the container bigger.

In any case, it doesn't maintain aspect ratio when it comes to inline embedded images (in either the colorbox or normal page).

Images in fields, on the other hand, get shrunk with aspect ratio maintained. In fact, even when the dimensions in an image tag are set to 1024x768, field images still present themselves neatly inside the colorbox which has sized itself to its other content, with a width less than 500px, and when viewed on a page, the images neatly fill the width of the region.

See screenshots.

CommentFileSizeAuthor
inline-page.jpg114.28 KBlightsurge
inlineimages-colorbox.png247.19 KBlightsurge

Comments

jgraham’s picture

Assigned: Unassigned » penguininja
penguininja’s picture

Fixed, commit 6861585. I added a height: auto to those images to maintain the aspect ratio. (There is a sitewide max-width: 100% on all images on the site because Watt is a responsive theme.)

As far as the image fields, those are actually going away in favor of the Media upload method (inline images).

Thanks!

Update: I can't seem to push this to d.o right now, but it *will* be fixed shortly.

penguininja’s picture

Status: Active » Fixed

Okay, should be fixed now.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.