Twitter Cards – adding previews and summaries to a tweeted blog post

Facebook implemented Open Graph tags a long time ago, so that links from blogs and websites automatically pull in preview images and a summary text. That helps the viewer to see more about the linked page without having to click through. Twitter Cards does the same thing for Twitter.

30th June 2015 | Read more »

Automatically detecting browser language using htaccess

The tourism organization for Lake Lucerne has just launched a great-looking new website. Modern design, nice typography, beautiful pictures and a simple navigation all add to the experience. But one small improvement could be made by adding a few simple lines of code to the .htaccess file: making sure…

30th June 2015 | Read more »

The Great Escape

The Great Escape

A lovely idea from Graubünden Tourism. Set up an interactive video advertisement in Zürich’s main station, showing what a beautiful part of the Alps you could end up in by just getting on a train. Then invite passers-by to join you by printing them a free ticket on the spot. (And wait for…

29th June 2015 | Read more »

Containers and modules in web design

Using modules in front end web programming to allow more flexibility and more independence from site layouts for content elements.

29th June 2015 | Read more »

Blow-up boating on Lake Thun

Jo found that because we’d saved so many points on our supermarket card, that we could “afford” a kayak using points alone. A few days later, and a large and heavy cardboard box arrived on the post woman’s scooter trailer and we had our dinghy: an Intex Challenger K2.

27th June 2015 | Read more »

Melchsee Frutt, Switzerland

The Melchsee is a lake in the mountains,  tucked away in the lee of a range of peaks between Meiringen and Engelberg. Nearby, the smaller stretch of water called Blauseeli (little blue lake) is a haven for frogs after the snows melt, and the edges of the pool are lined…

26th June 2015 | Read more »

Cudrefin, Switzerland

Rain clouds gathering over the Jura mountains, before coursing down to Lake Neuchâtel, near the unofficial border between French- and German-speaking Switzerland.

26th June 2015 | Read more »

Freedom to take photos in public places under attack

The freedom to take photos in public places is under attack. Until now, in most countries in Europe you were safe to take and publish photographs that are taken from public ground: a law called “Freedom of Panorama”. When you’re on holiday, you can take a photo from the London Eye and share…

26th June 2015 | Read more »

Airolo, Switzerland

Deep amongst the mountains which form a natural boundary between the northern and southern sides of the Alps, Airolo sits below the old, snaking Gotthard Pass road. The intrepid northern motorway motorist heading south for the sun arrives in Airolo gratefully, often having queued for several hours on busy summer weekends…

25th June 2015 | Read more »

Avoiding specificity issues in CSS

Holy moly. What a discussion we’ve gotten into over on Twitter about CSS specificity, BEM, and inheritance. I wrote yesterday that the idea is flawed and tries to work around problems which aren’t actually problems at all, but part of the language of CSS. As Duncan noted: the problem…

24th June 2015 | Read more »

Disabling persistent MySQL connections in TYPO3

TYPO3 occasionally throws the following error message when attempting to connect to the MySQL database, blocking the operation of the website. The error also occurs when reporting is set to Production mode in the install tool. Uncaught TYPO3 Exception: #1: PHP Warning: mysqli::real_connect(): (HY000/1040): Too many connections in […]/typo3_src-6.2.13/typo3/sysext/core/Classes/Database/DatabaseConnection.php line 1199…

24th June 2015 | Read more »

Faulensee, Switzerland

It’s always good to be near water when there is a special sunset going on. Here, a partially cloudy day ended with a drawn-out bang as the sun poked beneath the clouds. Tthe misty glow to the left of the village in the middle of the picture is driving, misty rain…

23rd June 2015 | Read more »

Why using BEM for your CSS is a bad idea

I came across the BEM (Block, Element, Modifier) technique for CSS coding today. On reading half a dozen basic introductions to the technique, I saw immediately that the concept is based on weak coding principles, not code simplicity and reusability.

23rd June 2015 | Read more »

It’s all about content – open data and the web

When coming up with ideas for new websites or coming up with a use for a new design idea, the reason for the website or app is often on which slows the initial impetus for a designer or front-end coder. Sure, you have this great idea for a design, but what to use it for?

19th June 2015 | Read more »

20 days in Antarctica

20 days in Antarctica

Kalle Ljung and his father spent 20 days sailing through Antarctica last winter. They took a GoPro HERO3+ Black Edition mounted on a DJI Phantom 2 Quadrocopter with them, and this is the wonderful, beautiful film they made. (Hat tip: Habi.)…

16th June 2015 | Read more »

Environmental portrait workshop with PICZ.ch

It's been a while now since I've led a photo workshop. But Pascal from the Photo International Club Zurich asked nicely earlier in the year and so we found a weekend which would work out for us both.

16th June 2015 | Read more »

Tourist tips for south west Pembrokeshire

A friend from Switzerland appreciated the area through my photos last year and asked for some tips of some "must-see" places to visit on a short summer trip. After emailing details at the time, it's taken me a while to get the tips into shape for a blog post… but here it is, at last!

11th June 2015 | Read more »

Glarus Overthrust, Switzerland

There are magnificent landscapes in Switzerland, to be sure. But amongst the mountain peaks and valleys, there are still some exceptional sites. This one, known as the Glarus Overthrust, is a geological wonder on the borders of canton Glarus and Graubünden, above Flims. Reaching the plateau by cable car…

10th June 2015 | Read more »

Grimsel Reservoir, Switzerland

This view may look like winter or spring, but the photograph was taken in June 2012. The Swiss alpine passes – here at Grimsel – are largely between 1,500 and 2,500 metres above sea level, and their location in the depths of the alpine chain means that they get wintery weather…

10th June 2015 | Read more »

Niesen, Switzerland

The pyramidal peak of the Niesen, in the Bernese Oberland of Switzerland, towers over the surrounding countryside. It heads a range of mountains leading from Adelboden and Lenk and is the “Hausberg” (home mountain) of Spiez and the Lower Simmen Valley, facing out over Lake Thun. There are…

1st June 2015 | Read more »