mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-25 09:06:02 +03:00
[GH-ISSUE #856] Feature Request: Ability to save multiple screenshots at different resolutions #531
Labels
No labels
expected: maybe someday
expected: next release
expected: release after next
expected: unlikely unless contributed
good first ticket
help wanted
pull-request
scope: all users
scope: windows users
size: easy
size: hard
size: medium
size: medium
status: backlog
status: blocked
status: done
status: idea-phase
status: needs followup
status: wip
status: wontfix
touches: API/CLI/Spec
touches: configuration
touches: data/schema/architecture
touches: dependencies/packaging
touches: docs
touches: js
touches: views/replayers/html/css
why: correctness
why: functionality
why: performance
why: security
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ArchiveBox#531
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @WesleyAC on GitHub (Sep 26, 2021).
Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/856
Type
What is the problem that your feature request solves
I want to be able to save screenshots at multiple sizes (mobile/desktop, for instance)
Describe the ideal specific solution you'd want, and whether it fits into any broader scope of changes
I'm not sure how this would be configured — maybe the
RESOLUTIONconfig option could take an array?What hacks or alternative solutions have you tried to solve the problem?
None. I could take two different archives of the same URL using the hash trick, with different configuration for each of them, but the hackiness of that isn't worth it to me.
How badly do you want this new feature?
@pirate commented on GitHub (Sep 27, 2021):
Definitely seems feasible to change the
RESOLUTIONto take an array, e.g. likeRESOLUTION=1440,900+720,900+...etc. Then the variants could be saved in a folder likearchive/<timestamp>/screenshot/1440x900.png,..., withscreenshot.pngsymlinked to one of the ones inside the folder. It's not high priority on my list to be honest, but if someone wants to work on it I'd be down to review a PR.