We use mshots on the WordPress.org Pattern Directory to render small pattern previews, but right now they're all fixed to the same height, so they're either cut off at the bottom (first two in screenshot), or have extra whitespace above/below (last). It would be nice if I could pass in a param, like ?fullpage=1, and the image returned would be the height of the page.
@simison had a PR proof of concept here #15, which is basically what I'm looking for (though I would still want to set the viewport width).
Related to #16, but that was closed without a solution as far as I can tell.
We use mshots on the WordPress.org Pattern Directory to render small pattern previews, but right now they're all fixed to the same height, so they're either cut off at the bottom (first two in screenshot), or have extra whitespace above/below (last). It would be nice if I could pass in a param, like
?fullpage=1, and the image returned would be the height of the page.@simison had a PR proof of concept here #15, which is basically what I'm looking for (though I would still want to set the viewport width).
Related to #16, but that was closed without a solution as far as I can tell.