Descripció
Go to Tools > UXL Screenshot Generator, choose a page, a screen size and an
image format, and press «Generate Screenshot». The page is shown in a browser
window of that size, converted to an image and added to the Media Library. The
image contains the web page only: no browser window, toolbars, scrollbars or
WordPress admin bar.
- Page: the front page (default), or any published page, post, posts page,
archive, category or tag. Any other address on the site, such as search
results or an author archive, can be entered by hand. - Screen size: 1200 x 900 (default), ready-made sizes for mobile, tablet,
laptop and desktop screens, or a custom width and height. - Image format: JPG (default) or PNG.
Your last choices are remembered for next time.
The plugin is self-contained. It does not use any external service or
third-party library: the page is rendered by the administrator’s own browser
using the script in assets/admin.js, and the finished image is uploaded to this
site.
Only administrators (users who can «manage_options» and «upload_files») can use
the tool.
How it works
- The chosen page is loaded in an iframe of the chosen size. For this request
the admin bar is hidden and the page is rendered as a logged-out visitor
sees it. - The part of the page inside the window is copied together with the styles
the browser has computed. Images and web fonts are embedded. - The copy is painted to a canvas, exported as a JPG or PNG and uploaded.
Notes and limitations
- Use a current desktop version of Chrome, Edge or Firefox.
- The dashboard and the site must be on the same address (same domain and
same http/https), otherwise browsers forbid reading the page. - Screen sizes set the width and height of the browser window, so the page’s
responsive (mobile, tablet) layout is used. Screenshots are taken at one
image pixel per screen pixel. - Content inside embedded frames (YouTube players, maps, etc.) cannot be read by
a browser script and is shown as an empty box of the same size. - Images, fonts and stylesheets hosted on another domain that the browser may
not read directly are fetched by this site itself so they can be included. - Anything a visitor would see on arrival (for example a cookie banner) is part
of the screenshot. - Large PNG screenshots can exceed the server’s upload limit. Choose JPG or a
smaller size if saving fails.
Filters
- uxl_screenshot_generator_render_as_visitor (bool, default true)
- uxl_screenshot_generator_jpeg_quality (int 1-100, default 90)
- uxl_screenshot_generator_settle_delay (int milliseconds, default 800)
- uxl_screenshot_generator_sizes (array of screen size presets, each with
‘label’, ‘width’ and ‘height’) - uxl_screenshot_generator_size_limits (array: min_width 240, min_height 240,
max_width 3840, max_height 4320) - uxl_screenshot_generator_targets (array of page groups shown in the Page list)
- uxl_screenshot_generator_max_list_items (int, default 50: most posts or terms
listed per group)
Ressenyes
No hi ha ressenyes per a aquesta extensió.
Col·laboradors i desenvolupadors
«UXL Screenshot Generator» és programari de codi obert. La següent gent ha col·laborat en aquesta extensió.
Col·laboradorsTraduïu «UXL Screenshot Generator» a la vostra llengua.
Interessats en el desenvolupament?
Navegueu pel codi, baixeu-vos el repositori SVN, o subscriviu-vos al registre de desenvolupament per fisl de subscripció RSS.
Registre de canvis
1.1.0
- New: choose any page, post, archive or other address on the site to capture (default: the front page).
- New: choose the screen size, from ready-made mobile, tablet, laptop and desktop sizes or a custom width and height (default: 1200 x 900).
- New: save screenshots as JPG or PNG (default: JPG).
- New: your last choices are remembered.
- Screenshots wider or taller than 2560 pixels are kept at full size instead of being scaled down by WordPress.
- Screenshot titles, alt text and file names now include the page and size.
1.0.2
- Fixed content shifting upwards when it follows a block whose last item has a bottom margin (most visible on blocks with a negative top margin).
- Duotone filters and other in-page SVG filters, masks and clip paths are now included.
1.0.1
- Fixed images shown in the wrong place inside sliders and other scrolled areas.
- Fixed placeholder text in form fields losing its colour and style.
- Off-screen items no longer collapse and shift their neighbours.
1.0.0
- Initial release.



