Skip to content

Allow full page screenshots (arbitrary height) #88

Description

@ryelle

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.

Screenshot 2024-02-20 at 4 27 18 PM

@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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions