Opened 11 years ago
Closed 11 years ago
#24407 closed defect (bug) (fixed)
Twenty Thirteen: Misalignment of images in image post formats that use captions
Reported by: | tollmanz | Owned by: | lancewillett |
---|---|---|---|
Milestone: | 3.6 | Priority: | normal |
Severity: | normal | Version: | 3.6 |
Component: | Bundled Theme | Keywords: | close |
Focuses: | Cc: |
Description
If you upload an image to a post that uses the image post format and include a caption, the image will be misaligned on the posts page.
To recreate:
- Add a new post
- Choose "Image"
- Add an image via the media uploader
- Add a caption to the image
- Save and view the post
The misalignment occurs on the posts page and the individual post page.
Attachments (1)
Change History (9)
#3
follow-up:
↓ 6
@
11 years ago
@tollmanz Can you also try to repeat with an image that is 724 pixels wide or bigger? We have that as the "minimum" recommended size for the image post format.
#4
@
11 years ago
My guess is this only occurs if the image is smaller than 724 (but need to confirm that).
#5
@
11 years ago
By the way, the image without alignment *should* hang left, not be centered. So the bug here is the captioned image should do the same -- not be centered, unless specifically set to aligncenter
in the Media editor.
#6
in reply to:
↑ 3
@
11 years ago
Replying to lancewillett:
@tollmanz Can you also try to repeat with an image that is 724 pixels wide or bigger? We have that as the "minimum" recommended size for the image post format.
Lance, the image appears aligned correctly if you use an image that is 724px wide. I still think images that are less than 724px should align correctly.
My patch seems to fix this issue, but I am not sure if we should add specific styles for the other alignment values.