Pictures uploaded to Blogger post become grey

Recently I was writing my first ever blog post and wanted to include some screenshots in it. I uploaded the screenshots in Blogger’s editor and I noticed that something was off with them. It became even more apparent when I published the post and viewed it on the live site.

The images had too much grey in them. My first though was that I messed them up when converting to a smaller size, but quickly ruled out this possibility when I saw that the images on my local drive had no traces of the unwanted greyness.

The first image is the original, the second is after it was uploaded to blogger.

example_image_white_2014_01_19

example_image_grey_2014_01_19

It turned out that Google has some “smart” algorithms which try to enhance to quality of your uploaded images. And of course it is enabled by default. I don’t know how they perform on regular pictures taken for example on a holiday, but they definitely do bad for screenshots with a lot of white in them.

The following images illustrate step-by-step how to turn this feature off:

google_plus_profile_button_2014_01_19

google_plus_settings_button_2014_01_19

google_plus_auto_enhance_auto_awsome_2014_01_19

Use the first heading as page name in DokuWiki

By default the text of the links that point to DokuWiki pages is the same as the page name, which is something likeĀ use_heading_as_page_name.

This is not too readable. Luckily DokuWiki provides a configuration option that lets you change this behaviour.

Open conf/local.php and add the following row to it:

$conf['useheading'] = 1;

The result of this setting is that the text of all links that point to DokuWiki pages will now be the same as the first heading of the page.