Twenty Ten: add height to twentyten_attachment_size filter
|Reported by:||iandstewart||Owned by:|
In hindsight, the (essentially limitless) height for gallery images on attachment pages looks to be too much. 900px wide portrait images wind up looking way too large in galleries.
The attached diff uses the filterable width limit of 900px for the height limit as well. It puts the bulk of really large portrait-oriented images on screen while still looking appropriately sized when mixed with full-width landscape-oriented images in a gallery.
Change History (11)
comment:3 lancewillett — 3 years ago
- Cc lance@… added
- Keywords needs-testing has-patch added
- Summary changed from Twenty Ten: A limit to image gallery heights to Twenty Ten: add height to twentyten_attachment_size filter
- Type changed from defect (bug) to enhancement