iljitsch.com

topics: BGP / IPv6 / more · settings · b&w · my business: inet⁶ consult · Twitter · Mastodon · LinkedIn · email · 🇺🇸 🇳🇱

Hi, I'm Iljitsch van Beijnum. Here on iljitsch.com I publish articles and post links about a range of topics.

Also have a look at my business web site inet⁶ consult.

Resizing photos in PHP with correct orientation/rotation and retaining EXIF data

When I got my first iPhone back in 2008, I hacked together a quick script that let me post photos from my iPhone to my website. However, iPhone photos are now 3 MB or larger, which is a bit much. So in practice I would edit the photos on my computer before posting them. But that gets old, so time for some automation.


The first photo I uploaded directly from my iPhone 3G, showing part of the script

Actually resizing images is easy enough in PHP using the imagecopyresampled() function. However, using the provided example script the result was that a photo that I took with my iPhone showed up rotated...

Full article / permalink - posted 2021-11-28

The HTTPS and HTTP conundrum

The past few days I have added HTTPS support to bgpexpert.com and iljitsch.com. About ten years ago, I experimented a bit with SSL/TLS (HTTPS) support in Apache, and that was rather difficult.

But no more. Thanks to the efforts of Let's Encrypt and the ACME protocol as implemented in certbot, adding HTTPS support to your websites is now almost ridiculously easy.

Full article / permalink - posted 2021-11-22

Nokia 6310i, still going strong after all these years

Image link - posted 2021-11-21 in

Test post preparing for HTTPS

For some time now there's been a push to move the entire web from HTTP (no encryption) to HTTPS (with encryption).

I never felt it was necessary to encrypt static content. But the time has come to cave to peer pressure, and enjoy a few benefits such as the ability to post images to web forums.

However, I still feel very strongly about everything remaining accessible over HTTP. If you go HTTPS-only, you are now relying on a certificate authority (as well as your own ability to keep certificates up to date!), and you're cutting off some older systems and losing some performance. Also, having to change everything wholesale will be somewhat of a nightmare.

Full article / permalink - posted 2021-11-20

Dutch cabinet says BGP in good hands at IETF in response to Facebook incident

Laurens Dassen, a new member of the Dutch parliament after the March elections, representing the pan-European party Volt, put several questions about the October 4th Facebook outage to the Dutch cabinet (administration). Yesterday, minister Blok of the ministry of Economic Affairs and Climate answered those. The fourth question was about BGP, among other things.

Full article / permalink - posted 2021-11-11 - 🇳🇱 Nederlandse versie

Review: Peak Design Anchor Links to quick-release your camera strap

I've had a few Nikon cameras, and those always come with a perfectly usable strap. The only issue is that putting the strap on a camera and getting the length just right is a rather involved process.

And sometimes I need a strap, but in other situations, it gets in the way. So I asked about straps that are easy to attach and detach in a forum, and one of the suggestions was for a Peak Design strap.

If you're into watching Youtube photography channels, you've probably seen the little black discs with a red edge that hang off of the sides of a camera before. The anchors click into the anchor links, which are of course attached to the ends of a strap.

This is a review of the Anchor Links set that lets you quick release your existing camera strap.

Full article / permalink - posted 2021-10-16

older posts - newer posts

Search for:
RSS feed

Archives: 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024