Design Reference Picker is a fast, local-first tool for reviewing a library of web-design screenshots and collecting either complete screenshots or precise cropped regions. Each crop can include an optional plain-text note, keeping visual references and the thinking behind them together.
- Browse a naturally sorted screenshot collection with previous and next controls.
- Approve a complete screenshot with one click.
- Start a crop directly from the current image or with the CUT control.
- Define a crop with two exact points, then drag or resize the selection.
- Save at the original image resolution whenever PHP GD supports the source format.
- Fall back to browser canvas cropping when server-side image processing is unavailable.
- Attach an optional note to each crop.
- Generate sequential
cutted-01.jpg,cutted-02.jpg, and matchingNOTE-cutted-01.txtfiles. - Keep all approved assets in
top 20/top 5/handpicked/.
This is a framework-free project built with PHP, HTML, CSS, and vanilla JavaScript. It does not use React, Node.js at runtime, a database, or a build step.
- PHP 7.4 or newer.
- A browser with modern JavaScript, Canvas, Pointer Events, and Fetch support.
- Write permission for
top 20/top 5/handpicked/. - Recommended: PHP GD with JPEG, PNG, GIF, and WebP support for maximum-resolution server-side crops.
-
Download or clone the repository.
-
Place the repository in a PHP-capable web-server document root, or open a terminal in the repository directory.
-
Ensure PHP can write to
top 20/top 5/handpicked/. -
Start a local server:
php -S 127.0.0.1:8080
-
Open
http://127.0.0.1:8080/top.php.
See INSTALLATION.md for Apache, Nginx, PHP GD, and permissions guidance.
- Use PREV and NEXT to choose the current screenshot.
- Select APPROVE.
- The original file is copied to
top 20/top 5/handpicked/.
- Left-click the current screenshot, or select CUT.
- Left-click the first corner of the desired crop.
- Left-click the opposite corner.
- Drag the selection or its handles to refine the region.
- Optionally enter a note in Write Optional Note....
- Select the green scissors button inside the crop.
- The crop and optional note are saved sequentially in
top 20/top 5/handpicked/.
Select CANCEL, the red close button, or the dark area outside the selection to discard the active crop. Right-click and middle-click never create crop points.
See USAGE.md for the complete interaction guide.
The picker scans supported images (jpg, jpeg, png, webp, and gif) from the repository root and recognized top 20 / top 5 collections. The handpicked output directory and picker scripts are excluded from the source list.
.
├── top.php
├── screenshot-a.jpg
├── screenshot-b.webp
└── top 20/
└── top 5/
├── handpicked/
└── ...
The application has no analytics, accounts, database, or remote storage integration. Screenshot processing occurs on the host running PHP or in the current browser fallback. External icon images are loaded from Flaticon’s CDN by the current interface; see PRIVACY.md.
Design Reference Picker is available under the MIT License.
Created and maintained by Eduardo Silveira Rios. Source screenshots and externally hosted icons retain the rights and terms of their respective owners.