How to photograph your finished php programming work

A phone held at chest height in front of a monitor produces a photo with a bright window, dark code, and a reflection of your own shoulder. Photographing finished PHP work is a different job from photographing a room, because the subject is emitted light. Once you treat the screen as the light source, the pictures get sharp and readable.

Capture the screen instead of the room

If the deliverable is the interface, a screenshot is the photograph. Set the browser window to a known width, hide your bookmarks bar, close extra tabs, and take the shot at a size you can use on the page. On most systems a built-in screenshot tool captures a selected window cleanly with no desk, no chair, and no glare.

Take one full-page shot and one detail shot of the part that matters, such as the form confirmation or the table of results. Two good screenshots tell a project’s story better than a wide shot where the interface is a bright rectangle.

Dress the window before you shoot

Put realistic sample data in the page, not lorem ipsum and not your own test name. A few realistic rows make a finished project look finished. Hide debug output, dismiss any developer toolbar, and check that the browser zoom is at one hundred percent so text is crisp.

Use a light or dark theme deliberately, then keep it consistent across every shot of the project. Mixed themes in one gallery look like different applications.

When a camera is the right tool

Sometimes you want the device in the frame: a laptop on a desk, code on a monitor, a phone showing the mobile view. Put the camera on a tripod or a stack of books, level with the screen’s center, and shoot from slightly off-axis so the screen does not reflect the ceiling lights.

Turn off the room lights and let the screen light the scene, or bounce a small lamp off a white wall behind the camera. Keep the shutter slow and the camera still. A screen at an angle is fine for atmosphere, but never use it when the code itself must be readable.

Export for the place it will be seen

Save web images in a compressed format at the size they will display, and keep a larger version for a portfolio or a project write-up. Crop out the operating system’s menu bar and any personal file names. Check the image at its final size on a phone, where small text usually disappears.

Name the files with the project and the view they show, such as checkout-confirmation or admin-orders, so a gallery sorts itself without opening every image.

A clean screenshot with believable data is the most persuasive photo of PHP work you can take. Save the tripod for the shots where the machine itself is the subject.