Opened 11 years ago
Closed 11 years ago
#24307 closed defect (bug) (worksforme)
Twenty Thirteen: display issues if gallery images are smaller than 300x300
Reported by: | professor99 | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.6 |
Component: | Bundled Theme | Keywords: | close |
Focuses: | Cc: |
Description
WordPress 3.6-beta2-24227
Browser: Only tested on Firefox 20
Gallery excerpts on the home page are magnified.
Also missing captions on both excerpt and gallery page.
This may be addressed by #23584 "closed defect (bug) (fixed)
Twenty Thirteen: Gallery captions are hidden" but I'm not sure if captions were still meant to be hidden or displayed.
On the gallery page the centered images look out of place. Much better to displayed them from the left side as done for 2012.
See attached files for screenshots.
Also attached 2012 gallery screenshot for comparison which is the same on both the excerpt and the gallery page.
Andy Bruin
Attachments (8)
Change History (22)
#1
@
11 years ago
Forgot to add image details
Zen Size:98px * 98px, Title: test, Caption: zen
ZipIcon Size: 32px * 32px, Title: ico_zip, Caption: howdy
#2
@
11 years ago
- Milestone changed from Awaiting Review to 3.6
Reproduced with trunk. If the gallery images are less than 300x300, the tiled gallery resizing looks really weird.
#3
@
11 years ago
- Summary changed from Twenty Thirteen: Gallery excerpts are magnified and missing captions to Twenty Thirteen: display issues if gallery images are smaller than 300x300
This seems pretty edge case, but we should try to address anyway.
#4
@
11 years ago
- Keywords needs-patch added
I'd also like to relook at how we load all large versions for the gallery images on index. We should try a different technique that only loads the first image in large size, and the rest thumbnail.
#5
@
11 years ago
Patch is a quick attempt at getting the first image in a gallery, and outputting "large" for only that one image. Not working fully ... but it's the idea.
#7
@
11 years ago
I think 24307.patch would set a bad precedent.
I do like .1, though we have to be aware that galleries that were created prior to switching to Twenty Thirteen, will fall back to the 'full'
image size.
@
11 years ago
Patch builds on lancewillett's patch, cropping the image and serving only thumbnails on mobile views, where we display galleries in two columns of thumbnail sized images.
#8
@
11 years ago
- Keywords has-patch added; needs-patch removed
Oh, @obenland -- pro tip for the "new Trac" -- if you use .patch it'll look nicer in the diff view. I found it out via Westi. :)
#10
@
11 years ago
@tyshkev But does it change the layout? The designer's intent was for the first image in the gallery to be 300px by 300 px.
#13
@
11 years ago
- Keywords 2nd-opinion close added; has-patch removed
- Priority changed from high to normal
Last item to work on before closing this ticket -- how to handle case of images smaller than 300? I can't think of a way with pure CSS. We might just have to live with it.
Opinions?
#14
@
11 years ago
- Keywords 2nd-opinion removed
- Milestone 3.6 deleted
- Resolution set to worksforme
- Status changed from new to closed
I've thought about this a bit more, doesn't seem a simple way to avoid using the special styles for images smaller than 300. It'll just be a known issue, which can be avoided by 1) not using small images or 2) using a standard post for the gallery.
Gallery 2013 Excerpt